mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
Updated Yii2 command completion
This commit is contained in:
parent
7488e9b510
commit
00ff1bbd1c
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ _yii2 () {
|
||||||
name=$words[2]
|
name=$words[2]
|
||||||
fi
|
fi
|
||||||
|
|
||||||
commands=(${(f)"$(./yii help $name | _yii2_format_command)"})
|
commands=(${(f)"$(./yii help $name --color=0 | _yii2_format_command)"})
|
||||||
compadd -Q -S '' -a -- commands
|
compadd -Q -S '' -a -- commands
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef _yii2 yii
|
compdef _yii2 yii
|
Loading…
Reference in a new issue