No need of helper function
This commit is contained in:
parent
7724267273
commit
f414efb811
|
|
@ -122,12 +122,7 @@ if [[ -o zle ]]; then
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function __zoxide_z_complete_helper() {
|
\builtin bindkey "\e[0n" 'reset-prompt'
|
||||||
\builtin zle reset-prompt
|
|
||||||
}
|
|
||||||
|
|
||||||
\builtin zle -N __zoxide_z_complete_helper
|
|
||||||
\builtin bindkey "\e[0n" __zoxide_z_complete_helper
|
|
||||||
if [[ "${+functions[compdef]}" -ne 0 ]]; then
|
if [[ "${+functions[compdef]}" -ne 0 ]]; then
|
||||||
\compdef -d {{cmd}}
|
\compdef -d {{cmd}}
|
||||||
\compdef -d {{cmd}}i
|
\compdef -d {{cmd}}i
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue