mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Merge c1bf209462 into 62cf1201b0
This commit is contained in:
commit
776069b172
1 changed files with 7 additions and 1 deletions
|
|
@ -1,7 +1,13 @@
|
||||||
# Symfony2 basic command completion
|
# Symfony2 basic command completion
|
||||||
|
|
||||||
_symfony_console () {
|
_symfony_console () {
|
||||||
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | head -n 1)"
|
if [ -x symfony ]; then
|
||||||
|
echo "./symfony console"
|
||||||
|
else if command -v symfony >/dev/null 2>&1; then
|
||||||
|
echo "$(command -v symfony) console"
|
||||||
|
else
|
||||||
|
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | head -n 1)"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_symfony2_get_command_list () {
|
_symfony2_get_command_list () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue