blob: d765c0d12865575eff3128c5ca9dee1130ae03c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#autoload
comptry -m '(|*-)argument-* (|*-)option-* values'
comptry options
# Some silly examples commented out:
#
# case "$curcontext" in
# *:*:*:kill:*)
# comptry processes
# return 1 # this return ensures that we use only processes
# ;;
# *:*:*:-command-*)
# comptry commands functions
# comptry builtins aliases
# ;; # no return, reserved-words and params after this
# esac
return 0
|