mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-12-04 06:08:55 +01:00
refactor(laravel): consolidate versioned plugins (#14282)
* refactor(laravel): consolidate versioned plugins * fix(laravel): scope legacy aliases and defer command discovery
This commit is contained in:
1 parent
924db8c81b
commit
aa9ca00520
8 files changed
+280
-67
No files matched your search
@@ -63,3 +63,10 @@ alias pamomr="$_omz_laravel_php artisan module:migrate-rollback"
|
||||
alias pamos="$_omz_laravel_php artisan module:seed"
|
||||
|
||||
unset _omz_laravel_php
|
||||
|
||||
# Also load completion when reached through a legacy plugin name.
|
||||
if (( ! ${fpath[(Ie)${0:A:h}]} )); then
|
||||
fpath+=("${0:A:h}")
|
||||
fi
|
||||
autoload -Uz _artisan
|
||||
compdef _artisan artisan
|
||||
Reference in new issue
Block a user