diff options
| author | Ajeet D'Souza <98ajeet@gmail.com> | 2022-04-22 18:28:32 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-22 21:58:32 +0900 |
| commit | 54841248e7a26ffe545220df2a444e11c96ec757 (patch) | |
| tree | e32ec8e7285dbba05973def3d0ee7e0869f997a5 /shell/key-bindings.zsh | |
| parent | a0b42e6538092dc6dea9f918a7a74c9408e44d4c (diff) | |
| download | fzf-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.zsh | 2 |
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 |
