[GRASS-user] Unable to modify PS1 variable

Patton, Eric (NRCan/RNCan) eric.patton at canada.ca
Thu Feb 28 07:59:07 PST 2019


On Thu, Feb 28, 2019 at 3:20 PM Patton, Eric (NRCan/RNCan) <eric.patton at canada.ca> wrote:
>>
>> Hi, I am having trouble changing my PS1 bash prompt in Grass 7.7svn. I 
>>have
>> PS1 set to “\W >” in ~/.grass.bashrc, but instead my prompt 
>> consistently prints
>>
>> “GRASS 7.7.svn ($LOCATION_NAME):\w > “  (with LOCATION_NAME and \W 
>> expanded to current Grass location and full directory path, 
>> respectively). The result is my prompt is eating almost the full width of my shell window.
>
>Just to be sure: what is $SHELL set to? What is the output of:
>
>
>echo $SHELL
>
> and
>
>ls -la $(which $SHELL)

Markus, 

Here is the output:

echo $SHELL
/bin/bash

ls -al $(which $SHELL)
-rwxr-xr-x 1 root root 1037440 May 26  2017 /bin/bash

~ Eric.



More information about the grass-user mailing list