[fish] Do not use `builtin cd`

`builtin cd` of fish doesn't support `cd -`

Close #2967
pull/2986/head
Junegunn Choi 2 years ago
parent b5efc68737
commit f931e53890
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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 ""

Loading…
Cancel
Save