From 54841248e7a26ffe545220df2a444e11c96ec757 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Fri, 22 Apr 2022 18:28:32 +0530 Subject: [shell] ALT-C: Use builtin cd to avoid conflicts (#2799) --- shell/key-bindings.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/key-bindings.zsh') 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 -- cgit v1.2.3