zim/modules/fasd/functions/_fasd_zsh_cmd_complete

6 lines
174 B
Text
Raw Normal View History

# zsh command mode completion
local compl
read -c compl
(( $+compstate )) && compstate[insert]=menu # no expand if compsys loaded
reply=(${(f)"$(fasd --complete "$compl")"})