Remove quiet accept line again

This commit is contained in:
Thomas Avé 2024-03-30 14:38:07 +01:00
parent dc9b23333a
commit 1ede5c79e0
3 changed files with 1 additions and 7 deletions

3
.gitmodules vendored
View File

@ -13,6 +13,3 @@
[submodule "zsh/zsh-vi-mode"]
path = zsh/zsh-vi-mode
url = https://github.com/jeffreytse/zsh-vi-mode.git
[submodule "zsh/zsh-quiet-accept-line"]
path = zsh/zsh-quiet-accept-line
url = git@github.com:AdrieanKhisbe/zsh-quiet-accept-line.git

View File

@ -97,7 +97,7 @@ function zvm_after_init() {
fi
zle push-line # Clear buffer. Auto-restored on next prompt.
BUFFER="cd ${(q)dir}"
zle quiet-accept-line
zle accept-line
local ret=$?
unset dir # ensure this doesn't end up appearing in prompt expansion
zle reset-prompt
@ -136,13 +136,11 @@ function zvm_after_init() {
echo -e $PATHS > $FZY_CACHE
fi
cd_to "$(cat $FZY_CACHE | fzy -l 20)"
zle accept-line
}
function find_local_files() {
zle -I
cd_to "$(fd . -t d | fzy -l 20)"
zle accept-line
}
zle -N find_global_files

@ -1 +0,0 @@
Subproject commit 2081e8b394a605d3b776c4318cf77b4f067dc4a8