diff options
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 3c637c1d9..61b0a72f1 100644 --- a/Completion/X/_x_colormapid +++ b/Completion/X/_x_colormapid @@ -2,7 +2,7 @@ local expl list desc -_wanted colormapids || return 1 +_tags colormapids || 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,5 +12,5 @@ else desc=() fi -_all_labels colormapids expl 'colormap id' \ +_wanted colormapids expl 'colormap id' \ compadd "$@" "$desc[@]" - "${(@)list%% *}" |