From 602729755e52aee7d348e7630a9671cf53c90855 Mon Sep 17 00:00:00 2001 From: Shuky Dvir Date: Mon, 20 Feb 2012 14:30:50 +0200 Subject: [PATCH] adding cutom plugin --- .gitignore | 1 - custom/plugins/shukyf/shukyf.plugin.zsh | 12 ++++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 custom/plugins/shukyf/shukyf.plugin.zsh diff --git a/.gitignore b/.gitignore index 2e8db7341..666bfb0aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ locals.zsh log/.zsh_history projects.zsh -custom/* !custom/example !custom/example.zsh cache diff --git a/custom/plugins/shukyf/shukyf.plugin.zsh b/custom/plugins/shukyf/shukyf.plugin.zsh new file mode 100644 index 000000000..7f3dc9a59 --- /dev/null +++ b/custom/plugins/shukyf/shukyf.plugin.zsh @@ -0,0 +1,12 @@ +c() { cd ~/code/$1; } + +_c() { _files -W ~/code -/; } +compdef _c c + + + + +b() { cd ~/code/biokm/$1; } + +_b() { _files -W ~/code/biokm -/; } +compdef _b b \ No newline at end of file