-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backward-kill-path-component is too aggressive with @ #6258
Comments
I'll dig it up. Is it a bug or actually expected behavior? By moving from By moving from There is a test for similar case in https://github.com/fish-shell/fish-shell/blob/master/src/fish_tests.cpp, line 2721.
Moving from But I also noticed that if separator is followed by spaces, triggering
after triggering
From my understanding of the docs I would assume that no path component was consumed, since spaces and |
I think it's a real bug. |
That was my line of thinking as well. |
So just to make sure,
instead of current:
and
instead of:
? |
echo ^bak^/^ No, I think this should still remove one "path component" (not only a separator) in the common case: echo ^bak/^ So maybe the change is just: Consuming multiple separators is current behavior, which is not affected by this issue: echo ^bak ^///^ (I think we can still treat |
With the cursor at the end of the following prompt:
backward-kill-path-component
triggered once removes the127.0.0.1
:but when triggered a second time results in the following:
(Expected:
~> dig example.com
)The text was updated successfully, but these errors were encountered: