about summary refs log tree commit diff
path: root/Completion/Pbmplus/_ppmchange
blob: 45c83ea2e6a8ce347b5874c6e187b86545d047ac (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

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

return ret