aboutsummaryrefslogtreecommitdiff
path: root/.oh-my-zsh/plugins/n98-magerun
diff options
context:
space:
mode:
authorMarvin Borner2020-03-16 23:33:42 +0100
committerMarvin Borner2020-03-16 23:33:42 +0100
commit0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch)
tree719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/n98-magerun
parente5d38956336ab1be954bdbd12808c5f98f8bd925 (diff)
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/n98-magerun')
-rw-r--r--.oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh34
1 files changed, 0 insertions, 34 deletions
diff --git a/.oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh b/.oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh
deleted file mode 100644
index bfcf27b..0000000
--- a/.oh-my-zsh/plugins/n98-magerun/n98-magerun.plugin.zsh
+++ /dev/null
@@ -1,34 +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)
-# VERSION: 1.0.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
-
-# Aliases
-alias n98='n98-magerun.phar'
-alias mage='n98-magerun.phar'
-alias magefl='n98-magerun.phar cache:flush'
-
-# Install n98-magerun into the current directory
-alias mage-get='wget https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar'