summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2022-09-20 16:58:43 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2022-09-20 16:59:07 +0900
commitf931e538903a20d7a63162f0f10f58447f1117c8 (patch)
treea856c3e247426082442f7cf1bba7e027a4f10efc /shell
parentb5efc68737e8231001d2a18234c18aa3f658a973 (diff)
[fish] Do not use `builtin cd`
`builtin cd` of fish doesn't support `cd -` Close #2967
Diffstat (limited to 'shell')
-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 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 ""