40fafe0f59371d1a9d83b83c614acfd1d740aabb

Author
Jisse Reitsma <jisse@yireo.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

n98-magerun: support magerun for Magento 2 (#7950)

Diff

 1diff --git a/plugins/n98-magerun/n98-magerun.plugin.zsh b/plugins/n98-magerun/n98-magerun.plugin.zsh
 2index bfcf27b984ada059662eb28f559671b72863e3fe..d79aee7eb88211bb540cda6af37180bda1d63bb4 100644
 3--- a/plugins/n98-magerun/n98-magerun.plugin.zsh
 4+++ b/plugins/n98-magerun/n98-magerun.plugin.zsh
 5@@ -2,7 +2,8 @@
 6 # FILE: n98-magerun.plugin.zsh
 7 # DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin 
 8 # AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com)
 9-# VERSION: 1.0.0
10+# AUTHOR: Jisse Reitsma (jisse at yireo dot com)
11+# VERSION: 1.1.0
12 # ------------------------------------------------------------------------------
13 
14 # n98-magerun basic command completion
15@@ -24,11 +25,18 @@ _n98_magerun () {
16 
17 compdef _n98_magerun n98-magerun.phar
18 compdef _n98_magerun n98-magerun
19+compdef _n98_magerun n98-magerun2.phar
20+compdef _n98_magerun n98-magerun2
21 
22 # Aliases
23 alias n98='n98-magerun.phar'
24 alias mage='n98-magerun.phar'
25-alias magefl='n98-magerun.phar cache:flush'
26+alias magerun='n98-magerun.phar'
27+
28+alias n98-2='n98-magerun2.phar'
29+alias mage2='n98-magerun2.phar'
30+alias magerun2='n98-magerun2.phar'
31 
32 # Install n98-magerun into the current directory
33-alias mage-get='wget https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar'
34+alias mage-get='wget https://files.magerun.net/n98-magerun.phar'
35+alias mage2-get='wget https://files.magerun.net/n98-magerun2.phar'