[GRASS-dev] Custom GRASS command line prompt

Markus Neteler neteler at osgeo.org
Mon Jul 29 07:17:57 PDT 2013


On Sun, Jul 28, 2013 at 4:50 AM, Hamish <hamish_b at yahoo.com> wrote:
...
> 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

Personally I would suggest 30000 lines here (I use 50k). Better save
than sorry :-)

Markus


More information about the grass-dev mailing list