root/main/trunk/greenstone2/.gstermrc @ 20999

Revision 19478, 215 bytes (checked in by oranfry, 11 years ago)

script to start a 'greenstone terminal'

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 browser.