Updated Yii2 command completion

This commit is contained in:
ekaragodin 2014-12-15 21:37:38 +06:00
parent 7488e9b510
commit 00ff1bbd1c

View file

@ -20,10 +20,10 @@ _yii2 () {
name=$words[2]
fi
commands=(${(f)"$(./yii help $name | _yii2_format_command)"})
commands=(${(f)"$(./yii help $name --color=0 | _yii2_format_command)"})
compadd -Q -S '' -a -- commands
esac
fi
}
compdef _yii2 yii
compdef _yii2 yii