xfce configured my way
By tbuitenh on 27 Aug 2006
xfwm theme: Exiguous
gtk theme: Industrial
font: DejaVu Sans Condensed 10
terminal font: DejaVu Sans Mono Book 9
I configured bash such that the prompt only shows the last bit of the path, I don't need to be told who I am at every command (I'll get a default prompt when working as root so it will still be obvious when I'm root), and I do like to see a bit more of the path than only the name of the directory.
PS1='`pwd | sed -e "s/\/.*\/\(.*\/.*\/.*\)/*\/\1/"` $ '
Try it, love it.
As you can see I got rid of pretty much all information I don't need (the xfce panel autohides, too!), now the thing that annoys me most is bright colors... Can't get rid of all of those because I don't control the web
.









Comments
eh. PS1, sorry. It's in
by tbuitenh | Tue, 2006-08-29 09:28eh. PS1, sorry. It's in .bashrc of course.
PS1='`pwd | sed -e "s/\/.*\/\(.*\/.*\/.*\)/*\/\1/"` $ '
You can also try it without making it permanent by copy-pasting that to your command line instead of putting it as a line in .bashrc
Where is this ps?
by AndrewB | Tue, 2006-08-29 08:33Where is this ps?
in the original post
by free-zombie | Tue, 2006-08-29 11:03in the original post
I know use
by free-zombie | Mon, 2006-08-28 10:54I know use
PROMPT='%?:%y:%24<...<%~%# '(plus a few colour codes)this means:
[exit status]:[line]:[truncated path][%(user) or #(root)]
so it's something like
0:pts/0:...ojects/afoc/modules%but then, this is zsh...
If you read my PS1 carefully
by tbuitenh | Mon, 2006-08-28 09:19If you read my PS carefully you'll see it shortens the path to */end/of/path
just after setting up Xfce
by free-zombie | Sun, 2006-08-27 21:12just after setting up Xfce to look good'n'allTM, I saw this post
anyway, interesting !
I'll keep your prompt in mind for the next zsh PROMPT editing session...
edit that time was just now, when I realized that I can't use an 80-character terminal AND a long prompt string AND paths like ~/code/projects/afoc/ .