[GRASS-dev] [GRASS GIS] #1369: setPrompt: command not found in GRASS7-svn

GRASS GIS trac at osgeo.org
Mon Jul 28 23:47:18 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:  shell, prompt            
  Platform:  Linux    |         Cpu:  Unspecified              
----------------------+-----------------------------------------------------

Comment(by hcho):

 You have to define grass_prompt() in ~/.grass7/bashrc:
 {{{
 grass_prompt(){
   # your code here
 }
 }}}

 prompt.py has already been replaced by grass_prompt() in trunk because of
 #2284.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1369#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list