blob: 24875b80d8d23eb7e6a18b696f069677fe5a94d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#compdef auto.
_arguments \
'1:flag:->flags' \
'*:: :->args'
case "$state" in
flags)
local -a opts
opts=(
'-t:Topography file'
'-i:Install dotfiles specified in the .topography file'
'-u:Uninstall dotfiles specified in the .topography file'
'-b:Exit at first error'
'-h:Show help text'
)
_describe 'flags' opts
;;
args)
case $line[1] in
-t) _files ;;
esac
esac
|