More Bash CLI Hacks

  • Makes the prompt much simpler.
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '

This makes the bash response very simple, just showing the user, machine, Directory logged and the command prompt below

bash example


See also