Allow theming to be disabled (eg for old terminals)
* Only load a theme file if `bobby` has been set * Only alter `PS1` if `\[[1;34m\]\[$(scm_char)\]\[[0;32m\]\[$(scm_prompt_info)\]\[[0;34m\]\[$(rvm_version_prompt)\] \[[33;40m\]\h \[[39m\]in \[[0;32m\]\w \[[39m\]\[\n\[[0;32m\]→\[[39m\] ` has a valuepull/33/head
parent
6c97585329
commit
6e7f423983
|
|
@ -47,8 +47,9 @@ done
|
|||
|
||||
|
||||
unset config_file
|
||||
export PS1=$PROMPT
|
||||
|
||||
if [[ $PROMPT ]]; then
|
||||
export PS1=$PROMPT
|
||||
fi
|
||||
|
||||
# Adding Support for other OSes
|
||||
PREVIEW="less"
|
||||
|
|
|
|||
|
|
@ -8,4 +8,6 @@ export GREP_COLOR='1;33'
|
|||
export LSCOLORS='Gxfxcxdxdxegedabagacad'
|
||||
|
||||
# Load the theme
|
||||
source "$BASH/themes/$BASH_THEME/$BASH_THEME.theme.bash"
|
||||
if [[ $BASH_THEME ]]; then
|
||||
source "$BASH/themes/$BASH_THEME/$BASH_THEME.theme.bash"
|
||||
fi
|
||||
Loading…
Reference in New Issue