summaryrefslogtreecommitdiff
path: root/shell/key-bindings.zsh
diff options
context:
space:
mode:
authorAjeet D'Souza <98ajeet@gmail.com>2022-04-22 18:28:32 +0530
committerGitHub <noreply@github.com>2022-04-22 21:58:32 +0900
commit54841248e7a26ffe545220df2a444e11c96ec757 (patch)
treee32ec8e7285dbba05973def3d0ee7e0869f997a5 /shell/key-bindings.zsh
parenta0b42e6538092dc6dea9f918a7a74c9408e44d4c (diff)
downloadfzf-54841248e7a26ffe545220df2a444e11c96ec757.tar.gz
[shell] ALT-C: Use builtin cd to avoid conflicts (#2799)
Diffstat (limited to 'shell/key-bindings.zsh')
-rw-r--r--shell/key-bindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh
index 032cd439..fe219bf4 100644
--- a/shell/key-bindings.zsh
+++ b/shell/key-bindings.zsh
@@ -81,7 +81,7 @@ fzf-cd-widget() {
return 0
fi
zle push-line # Clear buffer. Auto-restored on next prompt.
- BUFFER="cd -- ${(q)dir}"
+ BUFFER="builtin cd -- ${(q)dir}"
zle accept-line
local ret=$?
unset dir # ensure this doesn't end up appearing in prompt expansion