Sorry, I misled you. I see on my installation that reading the bashrc is commented out!
Check lines  1158-1159 in the startup script /usr/bin/grass70.

The work around is to go back to the old "~/.grass.bashrc" file. Put your aliases in there and it should work. Can you test and let us know if this works?

If so, I would report this as a packaging bug.

------ Original Message ------ Subject: Re: [GRASS-user] System variables Date: Mon, 8 Feb 2016 15:31:11 +0000 To: Micha Silver From: Jim Maas


On 02/08/2016 05:31 PM, Jim Maas wrote:
Thanks Micha,

I'm not doing something correctly, this is what I get

GRASS 7.0.3 (Enigma4):~ > cat ~/.grass7/bashrc
ll='ls -al'
GRASS 7.0.3 (Enigma4):~ > ll
ll: command not found
GRASS 7.0.3 (Enigma4):~ >

we don't need the word "alias" in front of the setting in the bashrc file?

Best,

Jim

On 08/02/16 15:12, Micha Silver wrote:
This works for me (Mint 17.3):

micha@hayun-35 ~ $ cat .grass7/bashrc
ll='ls -al'

Then running GRASS, I can use 'll' instead of 'ls -l'

------ Original Message ------ Subject: [GRASS-user] System variables Date: Mon, 8 Feb 2016 10:06:31 +0000 To: Grass-user From: Jim Maas


On 02/08/2016 12:06 PM, Jim Maas wrote:
I'm still struggling to change any system variables and alias by using ~/.grass7/bashrc when running grass7.0.3 on Ubuntu Linux 14.04.  As far as I can tell it runs in BASH shell.  If you happen to have a similar setup, could you possibly include a copy of your version of this file to see if it works for me, to ascertain what I'm doing incorrectly?  Or alternatively perhaps there is a bug somewhere preventing it from working correctly?

Thanks

J


Dr. Jim Maas

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
This mail was received via Mail-SeCure System.
Micha Silver
Arava Drainage Authority
+972-523-665918

Micha Silver
Arava Drainage Authority
+972-523-665918
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to