I observe strange behaviour regarding the execution order of commandline calls with -f option and without.
Example: I define the following function and bind it to a ctrls:
function __surround
commandline -f backward-kill-path-component
commandline -i '"'
commandline -f yank
commandline -a '"'
end
bind \cs '__surround'
(in my fish_user_key_bindings.fish)
What happens instead:
- cut + paste (those with
-f)
- insert + append
Here is a demo: asciicast
This is just a simplified example, I have encountered this behaviour in more situations and if this is not enough, I can provide more examples.
- Fish version:
fish, version 2.3b2 (homebrew install --devel fish)
- Operating system: OS X El Capitan
- Terminal emulator: iTerm2
I observe strange behaviour regarding the execution order of
commandlinecalls with-foption and without.Example: I define the following function and bind it to a ctrls:
(in my
fish_user_key_bindings.fish)What happens instead:
-f)Here is a demo: asciicast
This is just a simplified example, I have encountered this behaviour in more situations and if this is not enough, I can provide more examples.
fish, version 2.3b2(homebrew install --devel fish)