gksu gedit .bashrc
delete or comment out this line:
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
and replace with
PS1='your_prompt :\w\$ '
gksu gedit .bashrc
delete or comment out this line:
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
and replace with
PS1='your_prompt :\w\$ '
转载于:https://my.oschina.net/sskill/blog/187054