1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 17:00:32 +02:00

zsh-workers/8648

This commit is contained in:
Tanaka Akira 1999-11-16 13:08:17 +00:00
parent a4054ed262
commit 3a84a91e2b
5 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#compdef -brace-parameter-
_requested -t parameters && _parameters -e
_tags parameters && _parameters -e
# Without the `-e' option, we would use the following (see the file

View file

@ -3,7 +3,7 @@
local expl
if [[ "$PREFIX" = :* ]]; then
_wanted char-classes expl 'character class' &&
_wanted characters expl 'character class' &&
compadd "$expl[@]" -p: -S ':]' alnum alpha blank cntrl digit graph \
lower print punct space upper xdigit
elif [[ ${(Pt)${compstate[parameter]}} = assoc* ]]; then

View file

@ -7,7 +7,7 @@ if [[ CURRENT -eq 2 ]]; then
_wanted -C - jobs expl 'scheduled jobs' || return 1
lines=(${(f)"$(sched)"})
if _style entries description; then
if _style jobs description; then
disp=( -ld lines )
else
disp=()

View file

@ -9,7 +9,7 @@ else
while _tags; do
_requested options expl 'inode element' &&
{ ! _style elements prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
{ ! _style options prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev \
+size +atime +mtime +ctime +blksize +block +link
fi

View file

@ -107,7 +107,7 @@ elif [[ ( "$_tar_cmd" = *[xt]* || -n $del ) && -n "$tf" ]]; then
_tar_cache_name=$tf
fi
_wanted archived-files expl 'file from archive' &&
_wanted files expl 'file from archive' &&
_multi_parts "$expl[@]" / _tar_cache_list
else