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
