Changes between Initial Version and Version 2 of Ticket #1369


Ignore:
Timestamp:
May 23, 2011, 12:09:24 PM (13 years ago)
Author:
neteler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1369

    • Property Milestone7.0.0
  • Ticket #1369 – Description

    initial v2  
    33I use a customized one to have some different information/coloring of the prompt in the case of git and hg repos:
    44
     5{{{
    56function setPrompt(){
    67    thedate=`date "+%F %T"`
     
    3637    fi
    3738}
    38 
     39}}}
    3940
    4041which leads me to the error in the subject.
    4142
    4243While for example in grass64 I have:
     44
     45{{{
    4346GRASS 6.4.0+42329 (gbovest):~ > echo $PROMPT_COMMAND
    4447'/usr/lib/grass64/etc/prompt.sh'
     48}}}
    4549
    4650in grass7 it seems to have changed to:
     51
     52{{{
    4753echo $PROMPT_COMMAND
    4854PS1="$(setPrompt)"
     55}}}
    4956
    5057
     
    5663
    5764
    58 
    59