diff options
Diffstat (limited to 'Functions')
-rw-r--r-- | Functions/Misc/zed | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Functions/Misc/zed b/Functions/Misc/zed index e8e7212ef..dbf680270 100644 --- a/Functions/Misc/zed +++ b/Functions/Misc/zed @@ -19,6 +19,11 @@ integer TMOUT=0 [[ -z "$1" ]] && echo 'Usage: "zed filename" or "zed -f function"' && return 1 +local curcontext=zed::: + +zstyle -m ":completion:zed:*" insert-tab '*' || + zstyle ":completion:zed:*" insert-tab yes + # catch interrupts cleanup="$(bindkey -L "^M"; bindkey -L -M emacs "^X^W"; bindkey -aL "ZZ" echo "trap - INT EXIT"; trap)" |