blob: 6f07eec1c19cd12338667c8dbe4eac35828d1382 (
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
24
25
26
27
28
|
#autoload
comptry arguments values
comptry options
case "$curcontext" in
# Some silly examples commented out:
#
# *::*p[bgpn]m:*) # change the order for file-completion
# comptry globbed-files directories
# comptry all-files
# ;;
# *::dvips::-o*) # automatic context set by _arguments
# comptry all-files
# return
# ;;
# *::kill:*)
# comptry processes
# return # this return ensures that we use only processes
# ;;
*)
comptry globbed-files
comptry directories
comptry all-files
;;
esac
comptry "$@"
|