1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00
zsh/Completion/Commands/_expand_word
2000-02-03 17:22:40 +00:00

16 lines
373 B
Text

#compdef -k complete-word \C-xe
# Simple completion front-end implementing expansion.
#
# If configurations keys with the prefix `expandword_' are
# given they override those starting with `expand_'.
local curcontext="$curcontext"
if [[ -z "$curcontext" ]]; then
curcontext="correct-word:::"
else
curcontext="expand-word:${curcontext#*:}"
fi
_main_complete _expand