Results 1 to 5 of 5
Thread: simple terminal configuration
Enjoy an ad free experience by logging in. Not a member yet? Register.
simple terminal configuration
Whenever I open up my terminal, I get bash-3.1$ instead of user@machine[dir]$
I know the fix is one or two lines in a .X_____ file in my home directory, but if I dont remember the name of that file, its kinda hard to google lol.
Also, I'm using mrxvt, which is different from other terminals I have in that it has its own .mrxvtrc file instead of just having its configuration in above unknown file.
Would that possibly be the place i'm looking for to change my prompt?
To fix the prompt, try
#cp /etc/skel/.bash* /home/someuser/. #chown someuser:somegroup /home/someuser/.bash*
For Bash, the $PS1 global variable controls the prompt. You can set this in your ~/.bashrc.
alex@danu ~ $ echo $PS1 \[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]
The documentation for this is probably in the man page. I know I had to figure out the variable myself some time back, and I found a resource somewhere.
thanks. .bashrc is really the keyword I needed to know to get startedLiving the digital dream....
Disclaimer: I may be wrong since I was once before.
Breathe out so I can breathe you in ~~Everlong
For good examples of configuration files (including .bashrc) visit dotfiles.com and dotfiles.org