Replies: 1 comment 2 replies
-
Have you got any examples of this? It's currently intended behaviour to strip trailing whitespace, hence I've converted it to a discussion. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Currently when doing a search (e.g. interactive or through the cli), trailing spaces will be removed during the query. It would be great to configure this behavior.
To Reproduce
Steps to reproduce the behavior:
ls
(without trailing space) to historyatuin search --search-mode prefix 'ls ' (or
atuin search --search-mode fuzzy '^ls ')ls
Expected behavior
I would expect that during exact matches, even trailing white spaces are considered for the matches as this can sometimes be a useful query.
Beta Was this translation helpful? Give feedback.
All reactions