From f931e538903a20d7a63162f0f10f58447f1117c8 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 20 Sep 2022 16:58:43 +0900 Subject: [PATCH] [fish] Do not use `builtin cd` `builtin cd` of fish doesn't support `cd -` Close #2967 --- shell/key-bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/key-bindings.fish b/shell/key-bindings.fish index 5fd6f6b2..743c7c18 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" ] - builtin cd -- $result + cd -- $result # Remove last token from commandline. commandline -t ""