fzf-git.sh
fzf-git.sh copied to clipboard
Space is inserted on abort
If I abort any of the functions pressing ESC, there is still a space inserted that was not there before.
If I do the same with Ctrl+T, no excess space is added.
In many situations the space is irrelevant and ignored, but there are also situations where this is annoying.
For example if you just use these very nice bindings to look at something and abort, then you execute some totally different command.
The command will now start with space and thus bypass the Bash history.
reproducible on bash only, started with 23a74efafac7