Remove quiet accept line again
This commit is contained in:
parent
dc9b23333a
commit
1ede5c79e0
|
@ -13,6 +13,3 @@
|
||||||
[submodule "zsh/zsh-vi-mode"]
|
[submodule "zsh/zsh-vi-mode"]
|
||||||
path = zsh/zsh-vi-mode
|
path = zsh/zsh-vi-mode
|
||||||
url = https://github.com/jeffreytse/zsh-vi-mode.git
|
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
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ function zvm_after_init() {
|
||||||
fi
|
fi
|
||||||
zle push-line # Clear buffer. Auto-restored on next prompt.
|
zle push-line # Clear buffer. Auto-restored on next prompt.
|
||||||
BUFFER="cd ${(q)dir}"
|
BUFFER="cd ${(q)dir}"
|
||||||
zle quiet-accept-line
|
zle accept-line
|
||||||
local ret=$?
|
local ret=$?
|
||||||
unset dir # ensure this doesn't end up appearing in prompt expansion
|
unset dir # ensure this doesn't end up appearing in prompt expansion
|
||||||
zle reset-prompt
|
zle reset-prompt
|
||||||
|
@ -136,13 +136,11 @@ function zvm_after_init() {
|
||||||
echo -e $PATHS > $FZY_CACHE
|
echo -e $PATHS > $FZY_CACHE
|
||||||
fi
|
fi
|
||||||
cd_to "$(cat $FZY_CACHE | fzy -l 20)"
|
cd_to "$(cat $FZY_CACHE | fzy -l 20)"
|
||||||
zle accept-line
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function find_local_files() {
|
function find_local_files() {
|
||||||
zle -I
|
zle -I
|
||||||
cd_to "$(fd . -t d | fzy -l 20)"
|
cd_to "$(fd . -t d | fzy -l 20)"
|
||||||
zle accept-line
|
|
||||||
}
|
}
|
||||||
|
|
||||||
zle -N find_global_files
|
zle -N find_global_files
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 2081e8b394a605d3b776c4318cf77b4f067dc4a8
|
|
Loading…
Reference in New Issue