about summary refs log tree commit diff
path: root/Completion/Commands/_expand_word
blob: b4e22de48afcd7cf4eb353c83ab08a4f531db623 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#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