mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-29 04:53:17 +02:00
Merge d3180f83c5 into 37c2d0ddd7
This commit is contained in:
commit
fdc8112367
1 changed files with 12 additions and 3 deletions
|
|
@ -25,10 +25,19 @@ _n98_magerun () {
|
||||||
compdef _n98_magerun n98-magerun.phar
|
compdef _n98_magerun n98-magerun.phar
|
||||||
compdef _n98_magerun n98-magerun
|
compdef _n98_magerun n98-magerun
|
||||||
|
|
||||||
|
compdef _n98_magerun n98-magerun2.phar
|
||||||
|
compdef _n98_magerun n98-magerun2
|
||||||
|
|
||||||
|
if type "n98-magerun.phar" > /dev/null; then
|
||||||
|
alias n98='n98-magerun.phar'
|
||||||
|
alias mage='n98-magerun.phar'
|
||||||
|
else
|
||||||
|
alias n98='n98-magerun'
|
||||||
|
alias mage='n98-magerun'
|
||||||
|
fi
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
alias n98='n98-magerun.phar'
|
alias magefl='n98 cache:flush'
|
||||||
alias mage='n98-magerun.phar'
|
|
||||||
alias magefl='n98-magerun.phar cache:flush'
|
|
||||||
|
|
||||||
# Install n98-magerun into the current directory
|
# Install n98-magerun into the current directory
|
||||||
alias mage-get='wget https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar'
|
alias mage-get='wget https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue