Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Ubuntu 11.10 mini + LXDE and wanted to make my command line different in terminal (than just plain white), so I added blue color to path line (everything until $ sign) and it works fine but I have two strange glitches now:

  1. When i write a line which is longer than terminal window, instead of starting at next line it starts at the same one, overwriting everything which was in there.
  2. Sometimes while navigating over previous commands (up/down arrow keys) some part of command gets stuck and is treated as part of prompt (the blue text), but it is white and is non-deletable and is not taken as part of command when i press enter.

What could I mess up? The bad thing is that I don't remember what exactly did I change, but i'm sure I changed only one line in bashrc

Edit: for anyone who is willing to customize terminal line, here's a nice tutorial ->link<- . Make sure you don't miss any symbols (especially '\' ones) and everything works fine.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The default bashrc can be found in /etc/skel/.bashrc. I would suggest you make a backup of your current bashrc, then replace your bashrc with the one in skel, then see if the problems still occur. Then if they don't, backup and edit your new bashrc, putting comments in saying what you did!!

share|improve this answer
    
Thanks a lot. This was mine small mistake with all those symbols, i've missed some. Now thanks to /skel file and a guide at ArchWiki I managed to fix this. Thanks again –  foxy Nov 21 '11 at 10:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.