Added function that cds to ~/code, with tab-completion.

Lifted from Ryan Bates' dotfiles.
This commit is contained in:
Hakan Ensari 2010-12-20 12:18:52 -03:00
commit a686ccfe1e
2 changed files with 10 additions and 0 deletions

8
plugins/c/c.plugin.zsh Normal file
View file

@ -0,0 +1,8 @@
# add function that cds to ~/code, with tab-completion
function c() {
cd ~/code/$1;
}
fpath=($ZSH/plugins/c $fpath)
autoload -U compinit
compinit -i