changing my bash prompt
Nov 9, 2013
1 minute read

Those days I was more using zsh that bash but as I’m installing my system again, I just don’t want to go through all these time consuming customizations, so, back to basics.

The only thing that I was missing without my zsh was a more pretty prompt, so I designed mine, which is no more than the default one with more colors. Here it is, in my .bashrc configuration file:

export PS1=export PS1="\e[32m\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\e[0m\w \e[35m\$\e[0m "

See you!


Back to posts


comments powered by Disqus