mirror of
https://github.com/junegunn/fzf
synced 2024-10-30 09:20:14 +00:00
[fish] Do not use builtin cd
`builtin cd` of fish doesn't support `cd -` Close #2967
This commit is contained in:
parent
b5efc68737
commit
f931e53890
@ -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…
Reference in New Issue
Block a user