Files
zsh/Completion/Base/Widget/_expand_word
Sven Wischnowsky b6cf214d81 some cleanup (14558)
2001-05-30 07:31:13 +00:00

14 lines
307 B
Plaintext

#compdef -K _expand_word complete-word \C-xe _list_expansions list-choices \C-xd
# Simple completion front-end implementing expansion.
local curcontext="$curcontext"
if [[ -z "$curcontext" ]]; then
curcontext="expand-word:::"
else
curcontext="expand-word:${curcontext#*:}"
fi
_main_complete _expand