[prev in list] [next in list] [prev in thread] [next in thread] 

List:       klik-devel
Subject:    Re: [klik-devel] New klik2 command
From:       Kurt Pfeifle <k1pfeifle () gmx ! net>
Date:       2007-09-17 9:49:07
Message-ID: 46EE4D93.4080909 () gmx ! net
[Download RAW message or body]

Kurt Pfeifle wrote:
> Jason Taylor wrote:
> 
>> I've added shell, it gives you a shell prompt with the cmg union mounted
>>
>> ie
>>
>> klik shell xvier.cmg
>>
>> just do exit to leave shell and unmount
>>
>> I find its useful for testing
>>
>> Killerkiwi
> 
> 
> Thanks, Killerkiwi,
> 
> that is indeed very useful!

Feature request: Modify the prompt $PS1 to show an indicator that we
are in a "klik shell environment". Maybe like that:

 (a)   PS1="\u@\h:\w\$ klik> "
 (b)   PS1="\u@\h:\w\$ klik://$klikapp> "

(where "$klikapp" stands for the application which's .cmg was union-
mounted).

I think the benefits are obvious:

  * less chance for confusion with normal shell environment when using
    a different prompt;
  * with (b): if multiple .cmgs mounted, you know which one's environ-
    ment you currently are at;

Cheers,
Kurt

-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany

_______________________________________________
klik-devel mailing list
klik-devel@kde.org
https://mail.kde.org/mailman/listinfo/klik-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic