1
0
Эх сурвалжийг харах

chdir into previous dir after setting up root

Kevin Heinicke 10 жил өмнө
parent
commit
8b25dfcb56
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      .zshrc

+ 1 - 1
.zshrc

@@ -36,7 +36,7 @@ alias me5='sshfs lhcb: ~/mount/e5 && cd ~/mount/e5'
 alias mbam='sshfs bam: ~/mount/e5 && cd ~/mount/e5'
 
 # root
-alias iwantroot='cd $(brew --prefix root) && source libexec/thisroot.sh'
+alias iwantroot='cd $(brew --prefix root) && source libexec/thisroot.sh && cd -'
 
 # rapidminer
 alias rapidminer='java -jar -Xmx6G ~/Applications/rapidminer/lib/rapidminer.jar'