[sf-perl] Presentation Suggestions

Jeffrey Thalhammer jeff at imaginative-software.com
Tue Dec 20 09:10:40 PST 2011

On Dec 20, 2011, at 12:25 AM, Quinn Weaver wrote:

> I do this in my prompt (along with some other info).
> If you do this, it's helpful to use ANSI color codes to make your prompt visually distinct from command output. But Terminal.app's ANSI support is broken, so, if you're on a Mac, you have to go to the trouble of downloading and configuring something else. I use iTerm2, which works great.
> Here's an example. It's the same prompt as above, in a sort of cobalt blue. As you might guess, the part before the "\w\$ " is ANSIese for "be blue now" and the part after it is ANSIese for "stop being blue."

Thanks for the suggestions for enhancing the prompt.  Those are good ideas.

I also discovered tree(1): http://shaunchapmanblog.com/post/329270449/how-to-install-the-tree-command-on-mac-os-x

`tree -CA some/directory` makes a pretty decent color-coded ASCII-art representation of a directory.  I think I'll try using this for the presentation.


More information about the SanFrancisco-pm mailing list