diff --git a/bash_tools.sh b/bash_tools.sh index 11070d4..df34e8e 100644 --- a/bash_tools.sh +++ b/bash_tools.sh @@ -9,7 +9,6 @@ if [ -n "$ZSH_NAME" ]; then SHELL_NAME=zsh DOTFILE_DIR=${0:a:h}/ source $DOTFILE_DIR/bash_tools/theme_zsh.sh - elif [ -n "$SHELL" ];then SHELL_NAME=bash DOTFILE_DIR=$(dirname ${BASH_SOURCE[0]})/ diff --git a/bash_tools/theme_bash.sh b/bash_tools/theme_bash.sh index b84bdae..9910eb5 100644 --- a/bash_tools/theme_bash.sh +++ b/bash_tools/theme_bash.sh @@ -1,4 +1,4 @@ # display git status export GIT_PS1_SHOWDIRTYSTATE=1 -export PS1='\[\e[0;32m\]\w\[\e[01;31m\]$(__git_ps1 " (%s)")\[\e[00m\]$ ' +export PS1=' \[\e[0;32m\]\w\[\e[01;31m\]$(__git_ps1 "(%s)")\[\e[00m\]$ '