summaryrefslogtreecommitdiff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/keeper3
1 files changed, 2 insertions, 1 deletions
diff --git a/Functions/Zle/keeper b/Functions/Zle/keeper
index a40125771..1570eb94a 100644
--- a/Functions/Zle/keeper
+++ b/Functions/Zle/keeper
@@ -73,6 +73,7 @@ zstyle ':completion:expand-kept-result:*' completer _insert_kept
_expand_word_and_keep() {
{
+ _shadow compadd
function compadd {
local -A args
zparseopts -E -A args J:
@@ -85,7 +86,7 @@ _expand_word_and_keep() {
}
_expand_word
} always {
- unfunction compadd
+ _unshadow compadd
}
}