Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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. 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)>"
function fwd () {
echo $PWD | sed 's/\//\\/g' | tr [:lower:] [:upper:]
}
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 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
Originally posted by Chinaman 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...
I found it by accident.........I was searching for some info on /etc/profile.d
and came upon it...............hopefully it won't go dead again for awhile...........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.