Towards an ideal bash environment.

Feb 07, 2009 01:13

I've been using Linux for over 10 years, however it wasn't until I started getting paid to use Linux on a daily basis that I saw the value in keeping "dot files".

What I want is not a fancy prompt or tweaks to make a self-consistent system. I want to customize my environment so I can do more with less.

I'm still in the idealized design phase of this ( Read more... )

bash, unix, linux

Leave a comment

novas007 February 10 2009, 09:21:59 UTC

Oh, and one more bit. Since my home dir is in git, I spend pretty much all my time in a git repo. This makes it very useful to know what repo I'm in. I put that info in my zsh RPROMPT:

mike@hyperion:~> cd Personal/mine/phwar (master:mike)
mike@hyperion:~/Personal/mine/phwar> cd VisionWorkbench (master:phwar)
~/Work/projects/VisionWorkbench
mike@hyperion:~/Work/projects/VisionWorkbench> git checkout 2.0_alpha5 (master:VisionWorkbench)
Switched to branch "2.0_alpha5"
mike@hyperion:~/Work/projects/VisionWorkbench> cd (2.0_alpha5:VisionWorkbench)
mike@hyperion:~> (master:mike)

And just to answer the obvious question- yes, zsh's RPROMPT does the right thing:



Reply


Leave a comment

Up