From 54841248e7a26ffe545220df2a444e11c96ec757 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Fri, 22 Apr 2022 18:28:32 +0530 Subject: [shell] ALT-C: Use builtin cd to avoid conflicts (#2799) --- shell/key-bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/key-bindings.fish') 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 "" -- cgit v1.2.3