mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:26:42 +00:00
16 lines
302 B
Bash
16 lines
302 B
Bash
# :fzf-tab:complete:(-command-:|command:option-(v|V)-rest)
|
|
case $group in
|
|
'external command'|'alias')
|
|
which $word
|
|
;;
|
|
'executable file')
|
|
which ${realpath#--*=}
|
|
;;
|
|
'builtin command'|'reserved word')
|
|
run-help $word | bat -lman
|
|
;;
|
|
parameter)
|
|
echo ${(P)word}
|
|
;;
|
|
esac
|