aliases in grass
Lars Schylberg
larss at fmi.kth.se
Wed Jun 16 09:55:42 EDT 1993
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 at 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
More information about the grass-dev
mailing list