about summary refs log tree commit diff
path: root/Completion/Pbmplus/_ppmchange
blob: 012ba947512f0b9b92175affafbc5da567037e6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#compdef ppmchange

local ret=1 expl

_pbm_file && ret=0

if (( CURRENT & 1 )); then
  _description expl 'new color'
else
  _description expl 'old color'
fi

_x_color "$expl[@]" && ret=0

return ret