summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh')
-rw-r--r--zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh42
1 files changed, 0 insertions, 42 deletions
diff --git a/zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh b/zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh
deleted file mode 100644
index d79aee7..0000000
--- a/zsh/oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh
+++ /dev/null
@@ -1,42 +0,0 @@
-# ------------------------------------------------------------------------------
-# 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)
-# AUTHOR: Jisse Reitsma (jisse at yireo dot com)
-# VERSION: 1.1.0
-# ------------------------------------------------------------------------------
-
-# n98-magerun basic command completion
-_n98_magerun_get_command_list () {
- $_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
-}
-
-
-_n98_magerun () {
- _arguments '1: :->command' '*:optional arg:_files'
-
- case $state in
- command)
- compadd $(_n98_magerun_get_command_list)
- ;;
- *)
- esac
-}
-
-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 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://files.magerun.net/n98-magerun.phar'
-alias mage2-get='wget https://files.magerun.net/n98-magerun2.phar'