ref: d5e2a8d00b4f769d56e567905c4c6689e803a49e
dir: /common.rc/
nl='
'
fn usage{
>[2=1] echo -n 'usage:' $usage
exit 'usage'
}
fn gitup{
gitroot=`{git/conf -r >[2]/dev/null}
if(~ $#gitroot 0){
>[2=1] echo 'not a git repository'
exit 'not a git repository'
}
cd $gitroot
git/fs
}