So I’ve been playing with my .bashrc file to pimp my prompt just so, and it’s coming out pretty good so far. If you would like to copy my file you can find it in my pastebin at this link. (It’s too much to post as a code snippet so that’s why it’s there) What you’ll get if you choose to use it is a pretty versitile bash prompt that changes colors when your logged in remotely as opposed to locally, a shortened working directory listing, load avarage on login and a fun welcoming message! Most of the code was taken from Emmanuel Rouat ‘s page of Advanced Bash-Scripting Goodness, however I wanted the shortened working directory along with his examples, so I pieced this one together. The end result is very usable and looks like this:
If you wanted an example of the shortened Working Directory here’s an example of that for your courious mind, it’s like the Friendly Interactive SHell (ie. FISH) goodness.
As you can see it’s much easier to find where your at then a bunch of … in the middle of the directory listing and also still gives you enough to work from (and there’s always PWD if you get lost)
I’ve also setup another server here at the house to offload alot of the work that my old server was doing all by itself ie: Downloads and internal web affairs and testing. All I can say really on that end is I LOVE lighttpd and wish I could use it for my multi-domain setup. Oh well thems the ropes!