[GRASS-dev] Custom GRASS command line prompt
Nikos Alexandris
nik at nikosalexandris.net
Mon Jul 29 08:00:49 PDT 2013
Hamish:
> ...
> > fwiw here's what I have there wrt the prompt:
> > SHORT_VER=`echo "$GRASS_VERSION" | cut -f1,2 -d. | sed -e 's/\.//'`
> > export PS1='G$SHORT_VER:\W > '
> > export HISTSIZE=3000
Markus Neteler wrote:
> Personally I would suggest 30000 lines here (I use 50k). Better save
> than sorry :-)
In reality, I forgot to mention that in /home/nik/.bashrc I have
declare -x HISTFILESIZE=1000000000
declare -x HISTSIZE=1000000
Ha-ha... :D
Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130729/323f2ee1/attachment.html>
More information about the grass-dev
mailing list