source: main/trunk/greenstone2/.gstermrc@ 31577

Last change on this file since 31577 was 19478, checked in by oranfry, 15 years ago

script to start a 'greenstone terminal'

File size: 215 bytes
Line 
1source ~/.bashrc
2function ncd {
3 if [ "$1" == "" ]; then
4 if [ "$GSDLHOME" != "" ]; then
5 cd $GSDLHOME
6 fi
7 else
8 cd "$*"
9 fi
10
11 PS1=$(echo $PWD|sed "s!$GSDLHOME!Greenstone!")'> '
12}
13alias cd=ncd
14
15cd $GSDLHOME
16
Note: See TracBrowser for help on using the repository browser.