diff options
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -105,6 +105,7 @@ function alert { # }}} # }}} # bash configuration {{{ +source ~/.bash/colors shopt -s extglob shopt -s no_empty_cmd_completion shopt -s checkwinsize @@ -112,7 +113,7 @@ shopt -s histappend set -o vi export HISTCONTROL=ignoredups export PATH="~/.bin/marathon:~/.bin/nethack:~/.bin:${PATH}:/usr/local/sbin:/usr/local/bin" -export PS1='$(_tmp=$(printf %03d $?); echo "${_tmp/*[1-9]*/\[\033[1;31;40m\]$_tmp\[\033[m\]}" "\[\033[01;33m\][\t] \[\033[01;32m\]\u@\h\[\033[01;34m\] \W $\[\033[00m\] ")' +export PS1='$(_tmp=$(printf %03d $?); echo "${_tmp/*[1-9]*/\['${HIRED}'\]$_tmp}" "\['${HIYELLOW}'\][\t] \['${HIGREEN}'\]\u@\h\['${HIBLUE}'\] \W $\['${NORM}'\] ")' if [[ -z "$PROMPT_COMMAND" ]]; then export PROMPT_COMMAND='history -a' else |