Commit 0018969b authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #2535 from IgorTimoshenko/feature/yii-plugin

Added Yii basic command completion
parents 01261d47 354593e9
# Yii basic command completion
_yii_get_command_list () {
protected/yiic | awk '/^ - [a-z]+/ { print $2 }'
}
_yii () {
if [ -f protected/yiic ]; then
compadd `_yii_get_command_list`
fi
}
compdef _yii protected/yiic
compdef _yii yiic
# Aliases
alias yiic='protected/yiic'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment