1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

Enable the insert-tab style in zed.

This commit is contained in:
Bart Schaefer 2000-07-26 09:24:24 +00:00
parent f303f2ea63
commit 714efe5ff9
2 changed files with 9 additions and 0 deletions

View file

@ -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)"