From b56d7cc90ae73a4eac594c135cc03e41e0857705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 30 Mar 2024 14:45:33 +0100 Subject: [PATCH] Even better fzy --- zsh/.zshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index eebd224..f527039 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -87,7 +87,6 @@ function zvm_after_init() { source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh fi - source "$XDG_CONFIG_HOME/zsh/zsh-quiet-accept-line/quiet-accept-line.plugin.zsh" function cd_to() { setopt localoptions pipefail no_aliases 2> /dev/null local dir=$1 @@ -96,12 +95,11 @@ function zvm_after_init() { return 0 fi zle push-line # Clear buffer. Auto-restored on next prompt. - BUFFER="cd ${(q)dir}" + cd $dir zle accept-line local ret=$? unset dir # ensure this doesn't end up appearing in prompt expansion zle reset-prompt - return $ret } # Use FZY instead of FZF for ctrl-t