zsh-completion/_cure in cureutils-0.2.1 vs zsh-completion/_cure in cureutils-1.0.0
- old
+ new
@@ -15,32 +15,36 @@
"precures: Print Precure names"
"tr: Translate Precure related parameters."
"transform: Replace human_name to precure_name"
)
-# cure precures | cure tr [:precure_name:] [:girl_name:] | grep '[[:alnum:]]' | sort | uniq | sed 's/^cure_//'
+# bundle exec cure precures -m |bundle exec cure tr [:precure_name:] [:girl_name:] | grep '[[:alnum:]]' | sort | uniq
precure_girl_names=(
'cure_ace'
'cure_aqua'
'cure_beat'
'cure_beauty'
'cure_berry'
'cure_black'
'cure_bloom'
'cure_blossom'
+ 'cure_chocolat'
+ 'cure_custard'
'cure_diamond'
'cure_dream'
'cure_echo'
'cure_egret'
'cure_felice'
'cure_flora'
'cure_fortune'
+ 'cure_gelato'
'cure_happy'
'cure_heart'
'cure_honey'
'cure_lemonade'
'cure_lovely'
+ 'cure_macaroon'
'cure_magical'
'cure_march'
'cure_marine'
'cure_melody'
'cure_mermaid'
@@ -59,10 +63,11 @@
'cure_scarlet'
'cure_sunny'
'cure_sunshine'
'cure_sword'
'cure_twinkle'
+ 'cure_whip'
'cure_white'
'milky_rose'
'shiny_luminous'
)
@@ -113,11 +118,11 @@
}
function _cure-date () {
local -a args
args=(
- '-d: cure date -d STRING: display time described by STRING'
+ '-d: cure date -d STRING: Display time described by STRING.'
'+%Y/%m/%d_%H\:%M\:%S_@P: Example date string 1.'
'+%Y/%m/%d_@P: Example date string 2.'
)
if (( CURRENT==3 )) ; then
_describe -t args 'args' args
@@ -137,10 +142,10 @@
}
function _cure-girls () {
local -a args
if (( CURRENT>=3 )) ; then
- echo $words | grep -w -- '-v' 1> /dev/null || args=($args "-v:Include particular girl's full name.")
+ echo $words | grep -w -- '-f' 1> /dev/null || args=($args "-f:Show girl's full name if it exists.")
echo $words | grep -w -- '-m' 1> /dev/null || args=($args '-m:Include who have only appeared in the movies.')
_describe -t args 'args' args
fi
}