Hello,
Could anyone please tell me how, if possible, to set up an alias in GRASS. When I'm in GRASS, it no longer reads the aliases that I have set up in my .cshrc file. Editing the .grassrc file does not work.
Thank you.
----
Christine Weiss
NYC Dept. Parks & Recreation
Natural Resources Group
cmw@nycparks.gov
(212) 360-2749
Christine Weiss (cmw@nycparks.gov) writes on 16 Jun 93:
Hello,
Could anyone please tell me how, if possible, to set up an alias in GRASS. When I'm in GRASS, it no longer reads the aliases that I have set up in my .cshrc file. Editing the .grassrc file does not work.
Thank you.
edit your GIS.sh file and do it there.
This is a small example how I have added aliases to the
$GISBASE/etc/GIS.sh file
In this way you will allow every person to also have personal
aliases in the .aliases file in their home directory.
Lars
Lars Schylberg Email: larss@fmi.kth.se
Dept. of Geodesy and Photogrammetry
Royal Institute of Technology (KTH) Tel. +46 8 790 86 33
S-100 44 STOCKHOLM, SWEDEN Fax. +46 8 790 66 10
# this line with rm alias added by Lars S. 930513 since most people
# have it this way
echo "alias rm 'rm -i'" >> $cshrc
#
# Added by Lars Schylberg, 930513 to bring all aliases into the GRASS shell
#
if [ -r $home/.aliases ]
then
cat $home/.aliases >> $cshrc
fi
echo "set prompt = '\\" >> $cshrc
echo "Mapset <${MAPSET}> in Location <${LOCATION_NAME}> \\" >> $cshrc
echo "GRASS 4.1 > '" >> $cshrc