To understand your situation...
You have already functional code?
Your code works but it has a performance problem building the PS1 prompt?
If you want something "cleaner" and "faster" it would help if you post your 
code so that we see where you are.


> From: [email protected]
> Date: Thu, 12 Mar 2015 08:20:42 -0400
> To: [email protected]
> Subject: [ast-users] how to get functionality of bash compatible PS1 without  
> rest of bash compatibility?
> 
> Yep, that was the question: more or less bash-compatible PS1 handling without 
> the rest of bash compatibility.  I like timestamps and other odd things 
> (shortened directory) in my prompt, but I’d rather do it without enabling any 
> more bash compatibility than that.  I’ve got some odd code that even I no 
> longer understand that gives the output I want, but it’s very ugly (certainly 
> not using a get discipline or anything like that, but computing a date having 
> determined an offset to apply to SECONDS to count since midnight).  Something 
> cleaner and faster might be nice.
> 
> _______________________________________________
> ast-users mailing list
> [email protected]
> http://lists.research.att.com/mailman/listinfo/ast-users
                                          
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to