mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-10 16:08:32 +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…
x
Reference in New Issue
Block a user