diff options
Diffstat (limited to 'zsh/oh-my-zsh/plugins/eecms/eecms.plugin.zsh')
-rw-r--r-- | zsh/oh-my-zsh/plugins/eecms/eecms.plugin.zsh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/zsh/oh-my-zsh/plugins/eecms/eecms.plugin.zsh b/zsh/oh-my-zsh/plugins/eecms/eecms.plugin.zsh deleted file mode 100644 index ee10fbb..0000000 --- a/zsh/oh-my-zsh/plugins/eecms/eecms.plugin.zsh +++ /dev/null @@ -1,20 +0,0 @@ -# ExpressionEngine CMS basic command completion - -_eecms_console () { - echo "php $(find . -maxdepth 3 -mindepth 1 -name 'eecms' -type f | head -n 1)" -} - -_eecms_get_command_list () { - `_eecms_console` | sed "/Available commands/,/^/d" | sed "s/[[:space:]].*//g" -} - -_eecms () { - compadd `_eecms_get_command_list` -} - -compdef _eecms '`_eecms_console`' -compdef _eecms 'system/ee/eecms' -compdef _eecms eecms - -#Alias -alias eecms='`_eecms_console`' |