summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisse Reitsma <jisse@yireo.com>2019-08-07 20:16:25 +0200
committerMarc Cornellà <marc.cornella@live.com>2019-08-07 20:16:25 +0200
commit40fafe0f59371d1a9d83b83c614acfd1d740aabb (patch)
tree6fdb6440fe9b4f202c977f254cf460e6efef84ee
parent2156b4c08134e3918af78038416c407e4b28dbf6 (diff)
downloadzsh-40fafe0f59371d1a9d83b83c614acfd1d740aabb.tar.gz
zsh-40fafe0f59371d1a9d83b83c614acfd1d740aabb.tar.bz2
zsh-40fafe0f59371d1a9d83b83c614acfd1d740aabb.zip
n98-magerun: support magerun for Magento 2 (#7950)
-rw-r--r--plugins/n98-magerun/n98-magerun.plugin.zsh14
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/n98-magerun/n98-magerun.plugin.zsh b/plugins/n98-magerun/n98-magerun.plugin.zsh
index bfcf27b98..d79aee7eb 100644
--- a/plugins/n98-magerun/n98-magerun.plugin.zsh
+++ b/plugins/n98-magerun/n98-magerun.plugin.zsh
@@ -2,7 +2,8 @@
# FILE: n98-magerun.plugin.zsh
# DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin
# AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com)
-# VERSION: 1.0.0
+# AUTHOR: Jisse Reitsma (jisse at yireo dot com)
+# VERSION: 1.1.0
# ------------------------------------------------------------------------------
# n98-magerun basic command completion
@@ -24,11 +25,18 @@ _n98_magerun () {
compdef _n98_magerun n98-magerun.phar
compdef _n98_magerun n98-magerun
+compdef _n98_magerun n98-magerun2.phar
+compdef _n98_magerun n98-magerun2
# Aliases
alias n98='n98-magerun.phar'
alias mage='n98-magerun.phar'
-alias magefl='n98-magerun.phar cache:flush'
+alias magerun='n98-magerun.phar'
+
+alias n98-2='n98-magerun2.phar'
+alias mage2='n98-magerun2.phar'
+alias magerun2='n98-magerun2.phar'
# 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://files.magerun.net/n98-magerun.phar'
+alias mage2-get='wget https://files.magerun.net/n98-magerun2.phar'