Browse Source

[bash] Swap green and blue in bash prompt.

master
Fredrik Ekre 4 years ago
parent
commit
5ba972f180
  1. 2
      .bashrc.dotfiles

2
.bashrc.dotfiles

@ -26,7 +26,7 @@ alias dotfiles='git --git-dir="$HOME/.dotfiles.git/" --work-tree="$HOME/"'
# Bash prompt # Bash prompt
if [[ "${TERM}" =~ 256 ]]; then if [[ "${TERM}" =~ 256 ]]; then
# Colors from vim-airline bubblegum theme: 110 blue, 150 green # Colors from vim-airline bubblegum theme: 110 blue, 150 green
PS1="[\[\e[38;5;150m\e[1m\]\u@\h\[\e[0m\]:\[\e[38;5;110m\e[1m\]\w\e[0m\]]\$ " PS1="[\[\e[38;5;110m\e[1m\]\u@\h\[\e[0m\]:\[\e[38;5;150m\e[1m\]\w\e[0m\]]\$ "
else else
PS1="[\[\e[32m\e[1m\]\u@\h\[\e[0m\]:\[\e[34m\e[1m\]\w\[\e[0m\]]\$ " PS1="[\[\e[32m\e[1m\]\u@\h\[\e[0m\]:\[\e[34m\e[1m\]\w\[\e[0m\]]\$ "
fi fi

Loading…
Cancel
Save