Bash profile.

This commit is contained in:
Artem Sapegin
2012-10-10 18:05:57 +04:00
parent 9e3287bc38
commit 73babe1cd6
5 changed files with 192 additions and 1 deletions

9
tools/root.sh Normal file
View File

@@ -0,0 +1,9 @@
# Copyright 2009 Daniel Jackoway
# released under the MIT License
# see COPYING for the full text
function gitr {
while [ ! -d .git -a ! -f '.this_is_root' -a `pwd` != "/" ]
do
cd "..";
done
}