mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
add custom plugin
This commit is contained in:
parent
6179f435ac
commit
952aed5122
1 changed files with 9 additions and 0 deletions
9
custom/plugins/tv/tv.plugin.zsh
Normal file
9
custom/plugins/tv/tv.plugin.zsh
Normal file
|
|
@ -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; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue