mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:13:35 +01:00
Updated Yii2 command completion
This commit is contained in:
parent
7488e9b510
commit
00ff1bbd1c
@ -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
|
Loading…
Reference in New Issue
Block a user