Author Topic: Konsole probs.  (Read 756 times)

Maniaman

  • Member
  • **
  • Posts: 188
  • Kudos: 0
Konsole probs.
« on: 5 November 2002, 02:40 »
I created a new account on my machine, and when I open Konsole on that account it displays:

bash-2.05b$

How can i get it to display it as

[username@hostname directory]$

like it does for the root account. All of the terminals do this to me. Not that big of a deal, but  somewhat annoying in mny opinion.
I use my hotmail email on here to keep from begin spammed by trolls. If you want my good email address for something then ask... :)


beltorak0

  • Member
  • **
  • Posts: 223
  • Kudos: 0
    • http://www.angelfire.com/realm/beltorak
Konsole probs.
« Reply #1 on: 5 November 2002, 03:00 »
create (or edit) the ".bashrc" file in your home directory.
Code: [Select]

"~/.bashrc" is executed whenever bash is run interactively, but the script "~/.profile" is only executed at login.  I set all my settings in ".bashrc", and my ".profile" has 1 line: ". .bashrc".  whenever I enter a console/konsole/term/whatever, i get the prompt set up correctly.  And if you want it to be set that way for every user you create, drop the files in "/etc/skel".  You might want to leave the trailing "# " tho, some stupid scripts expect it for bash-magic.

hope that helps.

-t.

[ November 04, 2002: Message edited by: beltorak0 ]

from Attrition.Org
 
quote:
Like many times before, Microsoft is re-inventing the wheel and opting for something other than round.

-t.


Maniaman

  • Member
  • **
  • Posts: 188
  • Kudos: 0
Konsole probs.
« Reply #2 on: 5 November 2002, 03:42 »
Thanks for the help    It fixed my problem.
I use my hotmail email on here to keep from begin spammed by trolls. If you want my good email address for something then ask... :)