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:
- 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.
- 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 have messed up? The bad thing is that I don't remember what exactly I changed, but I'm sure I changed only one line in .bashrc
Edit: For anyone else who is interested in customizing the prompt, here's a nice tutorial . Make sure you don't miss any symbols (especially '' ones) and everything works fine.