diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index 0cff4daa..238975fc 100644 --- a/shell/key-bindings.fish +++ b/shell/key-bindings.fish @@ -29,9 +29,7 @@ function fzf_key_bindings if [ -z "$result" ] commandline -f repaint return - end - - if [ "$dir" != . ] + else # Remove last token from commandline. commandline -t "" end