Thanks for the help, I didnt realize that I could type anything in there, thought it had to be something like /h or /w. Thanks again :)
|
i use the default as well, but i have experimented with a few
C:$PWD> for instance (not much of a fooler because of the slashes instead of backslashes but still kinda funny) |
You're an evil person, frieza. :D It took me awhile to figure out and it's definitely not thoroughly tested, but it seems to work - I had a hard time going about it the wrong way. I set it pretty easily but couldn't get it to persist through 'cd' commands until I completely rethought it.
Try this Fake Working Directory in your ~/.bashrc or wherever. Very funny. *g* Code:
PS1="C:\$(fwd)>" |
bash-2.05b$
|
Code:
(19:51)[darkspy@Orion darkspy]$ cd Downloads/ |
this is what my bash prompt looks like:
echo $PS1 Code:
\[\033[0m\]\[\033[1;33m\]\j\[\033[0m\]\[\033[1;30m\]\t\[\033[0m\]\[\033[31m\]\u\[\033[0m\]@\[\033[1;34m\]\033[37m\]\w$\[\033[0m\] |
export PS1="[\u@\h \W]$ "
for normal users export PS1="[\u@\h \W]# " for root [theonekea@Ganymede theonekea]$ But I may change it, after seeing the stuff in this thread. |
mine's also pretty basic:
PS1='\[\e[36;1m\]\u@\h:\[\e[34;1m\]\w \$\[\e[0m\]' PS2=~> i wanted to add the current directory to the title bar instead, to save space, but it messes things up when in console mode. :( |
< /usr/local/games >
[ Sat Nov 29 ¤ 13:34:11 --- fatgod @ odin ] $ echo $PS1 \n\033[1;33m\] < \w >\n\033[1;32m\][ \d \244 \t --- \u @ \H ]\n \033[1;37m\]$ Which is virtually impossible to see on a light background... but works well enough on darkened tranparent windows. And when I 'su' the username turns red. |
$
|
I make it easy on myself, at the top I define the colors I use.........
Code:
# Color Variables for Prompt Code:
PS1="$GRN\h $RED\w $YEL\$ $NONE$NORM" Chessmaster ~ $ When I'm root: Chessmaster is Red and the working directory is Green |
I have a fairly bland command prompt. The only thing that I really like to have is a \n at the front, which puts a blank line between the last output and the new prompt
|
Glad you guys resurrected this thread. I searched for it a couple of
months ago but could not find it no matter what string I entered... |
Quote:
and came upon it...............hopefully it won't go dead again for awhile........... |
[19:11:21][will@hexbox1lnx]$
PS1="[\t][\u@\h\\$ " |
All times are GMT -5. The time now is 11:45 AM. |