Skip to content

Commit

Permalink
when TERM is eterm don't set base16 colors
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyDiGirolamo committed Jun 2, 2016
1 parent 6cb2be5 commit 87ac270
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions aliases
Expand Up @@ -25,9 +25,16 @@ function fixp_noaa {
}

alias base16='source ~/Preferences/base16-shell/base16-eighties.dark.sh'
base16
alias solarized='source ~/Preferences/base16-shell/base16-solarized.dark.sh'
alias c=cd

if [[ $TERM == *"eterm"* ]]
then
export TERM=xterm-256color
else
# If not in emacs load base16 shell colors
base16
fi


alias which='which -a'
alias b="bundle"
Expand Down Expand Up @@ -95,6 +102,7 @@ alias d='dirs -v'
alias p='pushd'
alias o='popd'
alias u='cd ..'
alias c=cd

# alias h='history 1'

Expand Down

0 comments on commit 87ac270

Please sign in to comment.