0

I was trying to uninstall python3 from ubuntu 12.04 with the following command:

sudo apt-get remove --purge python3*

and it just remove many things from system, including the ubuntu-desktop. After that, I reinstalled the desktop with the command:

sudo apt-get install ubuntu-desktop

The problem is that, when I open a terminal, it shows me a

~

sign on top off the screen, and didn't start from home, as in

nilson@GHOSTRIDER~$

What's wrong and how can I correct this?

For details see the marked area in the following picture:

terminal and prompt exhibit

noslin005
  • 143

1 Answers1

1

OP wrote:

[...]the problem was with the $PS1 variable in the ~/.bashrc. There was another line above, and I just uncomment it and comment the second one. The new echo $PS1 is \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[‌​01;34m\]\w\[\033[00m\]\$ $(parse_git_branch)$(parse_svn_branch).

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407