diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index 0cff4da..238975f 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