[Bugs] #3399 UNSP: sugar-jhbuild shell should change the prompt

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Mar 26 21:45:30 EDT 2012


#3399: sugar-jhbuild shell should change the prompt
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  sascha_silbe               
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-datastore            |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 This will prevent confusions while working inside a Sugar shell.  The PS1
 variable should change to identify it.

 Proposal: prefixing PS1 with '(sugar)', like:

 {{{
 [humitos] [~/sugar]$ PS1=(sugar)$PS1
 (sugar)[humitos] [~/sugar]$
 }}}

 Besides, we should save the old PS1 to be able to restore it when the
 user closes the "sugar" session.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3399>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list