This repository has been archived on 2020-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
zim/modules/fasd/functions/_fasd_zsh_cmd_complete

6 lines
174 B
Plaintext
Raw Permalink 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")"})