diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-25 00:21:44 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-25 00:21:44 +0000 |
commit | d8f703027345170c7bc820ed7808e693dd1377d6 (patch) | |
tree | f9b1b6ad59f19577c0e1c5b6357cb869b4bebfba /Completion/X/_x_colormapid | |
parent | d770c43f14ef6e559aa16da1c1408e006bb2a137 (diff) | |
download | zsh-d8f703027345170c7bc820ed7808e693dd1377d6.tar.gz zsh-d8f703027345170c7bc820ed7808e693dd1377d6.tar.xz zsh-d8f703027345170c7bc820ed7808e693dd1377d6.zip |
zsh-3.1.6-dev-20 zsh-3.1.6-dev-20
Diffstat (limited to 'Completion/X/_x_colormapid')
-rw-r--r-- | Completion/X/_x_colormapid | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/X/_x_colormapid b/Completion/X/_x_colormapid index 20e82fa44..4fe6aac42 100644 --- a/Completion/X/_x_colormapid +++ b/Completion/X/_x_colormapid @@ -2,7 +2,7 @@ local expl list desc -_wanted colormapids || return 1 +_wanted colormapids expl 'colormap id' || return 1 list=(${(f)"$(xprop -root -f RGB_COLOR_MAP 32xcccccccxx ': $0\n'|awk -F'[ ():]' '/^[a-zA-Z_]+\(RGB_COLOR_MAP\)/ {print $5, "--", $1}')"}) @@ -12,4 +12,4 @@ else desc=() fi -_loop colormapids expl 'colormap id' compadd "$@" "$desc[@]" - "${(@)list%% *}" +compadd "$expl[@]" "$@" "$desc[@]" - "${(@)list%% *}" |