summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/laravel4
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/oh-my-zsh/plugins/laravel4')
-rw-r--r--zsh/oh-my-zsh/plugins/laravel4/README.md18
-rw-r--r--zsh/oh-my-zsh/plugins/laravel4/laravel4.plugin.zsh20
2 files changed, 0 insertions, 38 deletions
diff --git a/zsh/oh-my-zsh/plugins/laravel4/README.md b/zsh/oh-my-zsh/plugins/laravel4/README.md
deleted file mode 100644
index 97a6a78..0000000
--- a/zsh/oh-my-zsh/plugins/laravel4/README.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Laravel 4 plugin
-
-This plugin adds some aliases for common [Laravel 4](https://laravel.com/docs/4.2) commands.
-
-To use it, add `laravel4` to the plugins array in your zshrc file:
-
-```zsh
-plugins=(... laravel4)
-```
-
-## Aliases
-
-| Alias | Command | Description |
-|-----------|-----------------------------|-------------------------------------|
-| la4 | `php artisan` | Main Artisan command |
-| la4dump | `php artisan dump-autoload` | Regenerate framework autoload files |
-| la4cache | `php artisan cache:clear` | Flush the application cache |
-| la4routes | `php artisan routes` | List all registered routes |
diff --git a/zsh/oh-my-zsh/plugins/laravel4/laravel4.plugin.zsh b/zsh/oh-my-zsh/plugins/laravel4/laravel4.plugin.zsh
deleted file mode 100644
index 0edc849..0000000
--- a/zsh/oh-my-zsh/plugins/laravel4/laravel4.plugin.zsh
+++ /dev/null
@@ -1,20 +0,0 @@
-# Laravel4 basic command completion
-_laravel4_get_command_list () {
- php artisan --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z]+/ { print $1 }'
-}
-
-_laravel4 () {
- if [ -f artisan ]; then
- compadd `_laravel4_get_command_list`
- fi
-}
-
-compdef _laravel4 artisan
-compdef _laravel4 la4
-
-#Alias
-alias la4='php artisan'
-
-alias la4dump='php artisan dump-autoload'
-alias la4cache='php artisan cache:clear'
-alias la4routes='php artisan routes'