blob: b49ca71153a5fab84fcc59f439b9d23a95b19aca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#compdef -default-
# We first try the `compctl's. This is without first (-T) and default (-D)
# completion. If you want them add `-T' and/or `-D' to this command.
# If there is a `compctl' for the command we are working on, we return
# immediatly. If you want to use new style completion anyway, remove the
# `|| return'. Also, you may want to use new style completion if the
# `compctl' didn't produce any matches. In that case remove the `|| return'
# and insert the line `[[ compstate[nmatches] -eq 0 ]] || return' after
# `compcall'.
compcall || return 0
_files
|