diff options
Diffstat (limited to 'Completion/Pbmplus')
-rw-r--r-- | Completion/Pbmplus/_pgmtoppm | 4 | ||||
-rw-r--r-- | Completion/Pbmplus/_pnmalias | 4 | ||||
-rw-r--r-- | Completion/Pbmplus/_pnmmargin | 2 | ||||
-rw-r--r-- | Completion/Pbmplus/_ppmchange | 2 | ||||
-rw-r--r-- | Completion/Pbmplus/_ppmmake | 2 | ||||
-rw-r--r-- | Completion/Pbmplus/_ppmtoacad | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/Completion/Pbmplus/_pgmtoppm b/Completion/Pbmplus/_pgmtoppm index c8b1abec6..1464bce77 100644 --- a/Completion/Pbmplus/_pgmtoppm +++ b/Completion/Pbmplus/_pgmtoppm @@ -4,10 +4,10 @@ local ret=1 expl if [[ CURRENT -eq 2 ]]; then if compset -P '?*-'; then - _colors + _x_color return fi - _colors && ret=0 + _x_color && ret=0 _description expl option compadd "$expl[@]" - -map && ret=0 diff --git a/Completion/Pbmplus/_pnmalias b/Completion/Pbmplus/_pnmalias index 4dda6fb9f..fef0f104b 100644 --- a/Completion/Pbmplus/_pnmalias +++ b/Completion/Pbmplus/_pnmalias @@ -1,6 +1,6 @@ #compdef pnmalias -_arguments '-bgcolor:background color:_colors' \ - '-fgcolor:foreground color:_colors' \ +_arguments '-bgcolor:background color:_x_color' \ + '-fgcolor:foreground color:_x_color' \ '-bonly' '-fonly' '-balias' '-falias' \ '-weight:central aliasing weight:' ':file: _pbm_file' diff --git a/Completion/Pbmplus/_pnmmargin b/Completion/Pbmplus/_pnmmargin index 90e196f8d..23735ba0a 100644 --- a/Completion/Pbmplus/_pnmmargin +++ b/Completion/Pbmplus/_pnmmargin @@ -1,4 +1,4 @@ #compdef pnmmargin -_arguments '-white' '-black' '-color:color: _colors' \ +_arguments '-white' '-black' '-color:color: _x_color' \ ':border width:' ':file: _pbm_file' diff --git a/Completion/Pbmplus/_ppmchange b/Completion/Pbmplus/_ppmchange index 45c83ea2e..012ba9475 100644 --- a/Completion/Pbmplus/_ppmchange +++ b/Completion/Pbmplus/_ppmchange @@ -10,6 +10,6 @@ else _description expl 'old color' fi -_colors "$expl[@]" && ret=0 +_x_color "$expl[@]" && ret=0 return ret diff --git a/Completion/Pbmplus/_ppmmake b/Completion/Pbmplus/_ppmmake index 62512a261..4be26700c 100644 --- a/Completion/Pbmplus/_ppmmake +++ b/Completion/Pbmplus/_ppmmake @@ -1,3 +1,3 @@ #compdef ppmmake -_arguments ':color: _colors' ':width:' ':height:' +_arguments ':color: _x_color' ':width:' ':height:' diff --git a/Completion/Pbmplus/_ppmtoacad b/Completion/Pbmplus/_ppmtoacad index 245b8afcd..38973ec6c 100644 --- a/Completion/Pbmplus/_ppmtoacad +++ b/Completion/Pbmplus/_ppmtoacad @@ -1,4 +1,4 @@ #compdef ppmtoacad -_arguments '-dxb' '-poly' '-background:background color:_colors' \ +_arguments '-dxb' '-poly' '-background:background color:_x_color' \ '-white' '-aspect:pixel aspect ratio:' '-8' ':file: _pbm_file' |