1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 06:00:54 +01:00
zsh/Completion/Commands/_history_complete_word
1999-09-09 14:10:01 +00:00

10 lines
200 B
Text

#compdef -k complete-word \e/
local expl
if [[ -n "$compconfig[history_sort]" ]]; then
_description expl 'history word'
else
_description -V expl 'history word'
fi
compgen "$expl[@]" -Q -H 0 ''