summaryrefslogtreecommitdiff
path: root/shell/key-bindings.fish
diff options
context:
space:
mode:
authorAjeet D'Souza <98ajeet@gmail.com>2022-04-22 18:28:32 +0530
committerGitHub <noreply@github.com>2022-04-22 21:58:32 +0900
commit54841248e7a26ffe545220df2a444e11c96ec757 (patch)
treee32ec8e7285dbba05973def3d0ee7e0869f997a5 /shell/key-bindings.fish
parenta0b42e6538092dc6dea9f918a7a74c9408e44d4c (diff)
downloadfzf-54841248e7a26ffe545220df2a444e11c96ec757.tar.gz
[shell] ALT-C: Use builtin cd to avoid conflicts (#2799)
Diffstat (limited to 'shell/key-bindings.fish')
-rw-r--r--shell/key-bindings.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish
index 370ef1b6..36b3aa34 100644
--- a/shell/key-bindings.fish
+++ b/shell/key-bindings.fish
@@ -87,7 +87,7 @@ function fzf_key_bindings
eval "$FZF_ALT_C_COMMAND | "(__fzfcmd)' +m --query "'$fzf_query'"' | read -l result
if [ -n "$result" ]
- cd -- $result
+ builtin cd -- $result
# Remove last token from commandline.
commandline -t ""