m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

[shell] ALT-C: Use builtin cd to avoid conflicts (#2799)

This commit is contained in:
Ajeet D'Souza
2022-04-22 18:28:32 +05:30
committed by GitHub
parent a0b42e6538
commit 54841248e7
3 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ function fzf_key_bindings
eval "$FZF_ALT_C_COMMAND | "(__fzfcmd)' +m --query "'$fzf_query'"' | read -l result
if [ -n "$result" ]
cd -- $result
builtin cd -- $result
# Remove last token from commandline.
commandline -t ""