[GRASS-dev] [GRASS GIS] #1369: setPrompt: command not found in GRASS7-svn
GRASS GIS
trac at osgeo.org
Mon Jul 21 21:05:01 PDT 2014
#1369: setPrompt: command not found in GRASS7-svn
----------------------+-----------------------------------------------------
Reporter: moovida | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: svn-trunk
Resolution: wontfix | Keywords:
Platform: Linux | Cpu: Unspecified
----------------------+-----------------------------------------------------
Changes (by wenzeslaus):
* status: new => closed
* resolution: => wontfix
Comment:
Currently:
{{{
> echo $PROMPT_COMMAND
grass_prompt
}}}
I think GRASS is not honoring the standard `.bashrc` in home by purpose if
this is what are you trying to achieve. There are some discussion on
mailing list about that.
[GRASS-SVN] r61051 - grass/trunk/lib/init
* http://lists.osgeo.org/pipermail/grass-dev/2014-July/069943.html
* http://osgeo-org.1560.x6.nabble.com/Re-GRASS-SVN-r61051-grass-trunk-
lib-init-td5149672.html
[GRASS-dev] Bash aliases in GRASS
* http://lists.osgeo.org/pipermail/grass-dev/2013-February/061837.html
* http://osgeo-org.1560.x6.nabble.com/Bash-aliases-in-GRASS-
td5032707.html
[GRASS-user] loss of bash aliases
* http://lists.osgeo.org/pipermail/grass-user/2008-March/043806.html
* http://osgeo-org.1560.x6.nabble.com/loss-of-bash-aliases-td3927364.html
I think you need to use `~/.grass7/bashrc`. Citing from one of the
discussions:
> > So we have $LOCATION/.bashrc, ~/.grass7/bashrc, and ~/.grass.bashrc.
Do they
> > all have different purposes and are they documented clearly somewhere?
> > (Huidae)
> `.grass.bashrc` is related to GRASS 6. GRASS 7 stores environmental
> variables in `~/.grass7/bashrc`. The init script in GRASS 7 also reads
> `.grass.bashrc` for backward compatibility.
> (Martin)
I'm afraid that this is wontfix/invalid (feature, not a bug). Perhaps
should be documented better. Feel free to suggest location and wording.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1369#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list