summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/key-bindings.fish4
1 files changed, 1 insertions, 3 deletions
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