0

I would like to replace the @ character separating my username and hostname in the terminal.

My current username and hostname

As an example pietro@camelot -> pietroⒶcamelot

I can't find proper info on how to do it, except that i should probably edit my .bashrc file. Attempts to change it have failed to show any difference though.

Can anyone tell me if there's a proper way to do it?

1 Answer 1

3

You can use different tools like: http://ezprompt.net to create your desired prompt, what you want can be achieved by:

export PS1="\uⒶ\h\w\\$ "

Put it in your .bashrc and you are done.

  • \u : user
  • : exactly a char.
  • \h : hostname
  • \w : working directory
  • \\$ : prompt sign

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .