Fix zshrc.

This commit is contained in:
Christophe Buffenoir 2013-12-16 12:28:10 +01:00
parent 0268b03ba8
commit b7ccbd9b94

View file

@ -95,15 +95,15 @@ function cd() {
export PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:~/.local/bin export PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:~/.local/bin
. ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh . ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
ssc() { ssh -XC -p ${3:-"22"} -t ${2:-`whoami`}@$1 "tmux ${argv[4,-1]:-"attach-session"} || tmux ${argv[4,-1]} ;" } ssc() { ssh -XC -p ${3:-"22"} -t ${2:-`whoami`}@$1 ${argv[4,-1]} }
senritsu() { ssc senritsu.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } senritsu() { ssc senritsu.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; }
gon() { ssc gon.kujiu.org ${argv[-1]:-`whoami`} 2208 $argv[1,-2]; } gon() { ssc gon.kujiu.org ${argv[-1]:-`whoami`} 2852 $argv[1,-2]; }
kirua() { ssc kirua.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } kirua() { ssc kirua.kujiu.org ${argv[-1]:-`whoami`} 2851 $argv[1,-2]; }
kurapika() { ssc kurapika.kujiu.org ${argv[-1]:-`whoami`} 2242 $argv[1,-2]; } kurapika() { ssc kurapika.kujiu.org ${argv[-1]:-`whoami`} 2854 $argv[1,-2]; }
leorio() { ssc leorio.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } leorio() { ssc leorio.kujiu.org ${argv[-1]:-`whoami`} 2853 $argv[1,-2]; }
ellcrys() { ssc ellcrys.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } ellcrys() { ssc ellcrys.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; }
bisuke() { ssc bisuke.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } bisuke() { ssc bisuke.kujiu.org ${argv[-1]:-`whoami`} 2850 $argv[1,-2]; }
goreinu() { ssc goreinu.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } goreinu() { ssc goreinu.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; }
pakunoda() { ssc pakunoda.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } pakunoda() { ssc pakunoda.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; }
hisoka() { ssc hisoka.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; } hisoka() { ssc hisoka.kujiu.org ${argv[-1]:-`whoami`} 22 $argv[1,-2]; }