diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-11 19:12:22 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-07-11 19:12:22 +0000 |
commit | ffabab4e74ae5b7e61550c528b8d19f6af6217e3 (patch) | |
tree | 666ce4565e2740f1f4bc4e1c07a2b188004f38f6 /Completion/Unix/Command | |
parent | 1b1712d065fae345cc5658318757348e9fb298d0 (diff) | |
download | zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.gz zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.xz zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.zip |
25276: use autoload -z for zsh-autoload functions
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_baz | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_darcs | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_tar | 2 | ||||
-rw-r--r-- | Completion/Unix/Command/_tla | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_baz b/Completion/Unix/Command/_baz index 5015456fb..132c6e31d 100644 --- a/Completion/Unix/Command/_baz +++ b/Completion/Unix/Command/_baz @@ -1,6 +1,6 @@ #compdef baz -autoload is-at-least +autoload -z is-at-least local BAZ=$words[1] local baz_version local hide_short diff --git a/Completion/Unix/Command/_darcs b/Completion/Unix/Command/_darcs index aa4d36770..1d3414e45 100644 --- a/Completion/Unix/Command/_darcs +++ b/Completion/Unix/Command/_darcs @@ -6,7 +6,7 @@ setopt EXTENDED_GLOB local DARCS=$words[1] # test whether to hide short options from completion -autoload is-at-least +autoload -z is-at-least local hide_short if zstyle -s ":completion:${curcontext}" hide-shortopts hide_short; then case $hide_short in diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar index 2958b5957..334605137 100644 --- a/Completion/Unix/Command/_tar +++ b/Completion/Unix/Command/_tar @@ -24,7 +24,7 @@ local _tar_cmd tf tmp tmpb del index if _pick_variant gnu=GNU unix --version; then case "$($service --version)" in (tar \(GNU tar\) (#b)([0-9.-]##)*) - autoload is-at-least + autoload -z is-at-least is-at-least 1.14.91 "$match[1]" || _cmd_variant[$service]="gnu-old" ;; esac diff --git a/Completion/Unix/Command/_tla b/Completion/Unix/Command/_tla index 9c5c5a821..358a6a736 100644 --- a/Completion/Unix/Command/_tla +++ b/Completion/Unix/Command/_tla @@ -1,6 +1,6 @@ #compdef tla -autoload is-at-least +autoload -z is-at-least local TLA=$words[1] local tla_version local hide_short |