mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 15:01:40 +02:00
12 lines
310 B
Text
12 lines
310 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"
|
|
|
|
[[ -z "$curcontext" ]] && curcontext=":expand-word"
|
|
|
|
_main_complete _expand
|