diff options
Diffstat (limited to 'Completion/X')
-rw-r--r-- | Completion/X/Command/_setxkbmap | 4 | ||||
-rw-r--r-- | Completion/X/Command/_xclip | 1 | ||||
-rw-r--r-- | Completion/X/Type/_xft_fonts | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/Completion/X/Command/_setxkbmap b/Completion/X/Command/_setxkbmap index d192cc17a..f7310ecdd 100644 --- a/Completion/X/Command/_setxkbmap +++ b/Completion/X/Command/_setxkbmap @@ -55,7 +55,7 @@ _setxkbmap_files () { local dir="$1" local label="$2" - local -a fullpath shortpath + local -a fullpath shortpath expl fullpath=($sourcedir/$dir/**/*~*README(.)) shortpath=(${fullpath#$sourcedir\/$dir\/}) @@ -82,7 +82,7 @@ _setxkbmap_geometry () { (( $+functions[_setxkbmap_variant] )) || _setxkbmap_variant () { local file=$sourcedir/symbols/${1} - local -a variants lines + local -a variants lines expl if [ ! -f $file ]; then _message "no such layout: ${1}" diff --git a/Completion/X/Command/_xclip b/Completion/X/Command/_xclip index ff131f3b1..509a15b79 100644 --- a/Completion/X/Command/_xclip +++ b/Completion/X/Command/_xclip @@ -10,6 +10,7 @@ _arguments \ '(-)'{-h,-help}'[display usage information]' \ '(-selection)-selection[selection to access]:selection:(primary secondary clipboard buffer-cut)' \ "-noutf8[operate in legacy, non-Unicode, mode]" \ + '(-r -rmlastnl)'{-r,-rmlastnl}'[remove the last newline character if present]' \ '(-)-version[display version information]' \ '(-quiet -verbose)-silent[errors only, run in background]' \ "(-silent -verbose)-quiet[run in foreground, show what's happening]" \ diff --git a/Completion/X/Type/_xft_fonts b/Completion/X/Type/_xft_fonts index 535b9b5ae..991838d67 100644 --- a/Completion/X/Type/_xft_fonts +++ b/Completion/X/Type/_xft_fonts @@ -1,6 +1,6 @@ #compdef fc-list fc-match -local -a suf +local -a expl suf local font=${${PREFIX//-[0-9]##:/:}%:*}: ret=1 local attr |