From 952aed51228031c8f865047806cdbd4ab8799f88 Mon Sep 17 00:00:00 2001 From: tvcam Date: Tue, 24 Jun 2014 12:49:29 +0700 Subject: [PATCH] add custom plugin --- custom/plugins/tv/tv.plugin.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 custom/plugins/tv/tv.plugin.zsh diff --git a/custom/plugins/tv/tv.plugin.zsh b/custom/plugins/tv/tv.plugin.zsh new file mode 100644 index 000000000..12583200e --- /dev/null +++ b/custom/plugins/tv/tv.plugin.zsh @@ -0,0 +1,9 @@ +c() { cd /var/www/$1; } + +_c() { _files -W /var/www -/; } +compdef _c c + +creport() { cd /var/www/yoolk_report; } +cportal() { cd /var/www/yoolk_portal; } +ccore() { cd /var/www/yoolk_report/yoolk_core; } +sql() { mysql -uroot -p; } \ No newline at end of file