Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
40fafe0f
Commit
40fafe0f
authored
Aug 07, 2019
by
Jisse Reitsma
Committed by
Marc Cornellà
Aug 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
n98-magerun: support magerun for Magento 2 (#7950)
parent
2156b4c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
n98-magerun.plugin.zsh
plugins/n98-magerun/n98-magerun.plugin.zsh
+11
-3
No files found.
plugins/n98-magerun/n98-magerun.plugin.zsh
View file @
40fafe0f
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
# FILE: n98-magerun.plugin.zsh
# FILE: n98-magerun.plugin.zsh
# DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin
# DESCRIPTION: oh-my-zsh n98-magerun plugin file. Adapted from composer plugin
# AUTHOR: Andrew Dwyer (andrewrdwyer at gmail dot com)
# 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
# n98-magerun basic command completion
...
@@ -24,11 +25,18 @@ _n98_magerun () {
...
@@ -24,11 +25,18 @@ _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
# Aliases
# Aliases
alias
n98
=
'n98-magerun.phar'
alias
n98
=
'n98-magerun.phar'
alias
mage
=
'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
# 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'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment