about summary refs log tree commit diff
path: root/Completion/Builtins/_disable
blob: 5572fbcf3dcc8551acbcf1afc670ac4233e4a130 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#compdef disable

local prev="$words[CURRENT-1]" ret=1

[[ "$prev" = -*a* ]] && compgen -ea && ret=0
[[ "$prev" = -*f* ]] && compgen -eF && ret=0
[[ "$prev" = -*r* ]] && compgen -ew && ret=0
[[ "$prev" != -* ]]  && compgen -eB && ret=0

return ret