source:
main/tags/3.08rc1/greenstone2/.gstermrc
Last change on this file was 19478, checked in by , 15 years ago | |
---|---|
File size: 215 bytes |
Line | |
---|---|
1 | source ~/.bashrc |
2 | function 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 | } |
13 | alias cd=ncd |
14 | |
15 | cd $GSDLHOME |
16 |
Note:
See TracBrowser
for help on using the repository browser.