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