blob: 483661efea77390fa39289e959b79cdce8da22bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#compdef enable
local prev="$words[CURRENT-1]" ret=1
[[ "$prev" = -*a* ]] && compgen -da && ret=0
[[ "$prev" = -*f* ]] && compgen -dF && ret=0
[[ "$prev" = -*r* ]] && compgen -dw && ret=0
[[ "$prev" != -* ]] && compgen -dB && ret=0
return ret
|