fix(emacs): zsh shell when inside emacs
When running zsh inside emacs base16 colors messes the colors. By using the `INSIDE_EMACS` this excludes loading the shell color theme when running shells inside emacs
This commit is contained in:
parent
ca5a928f55
commit
3464a86fb0
1 changed files with 2 additions and 2 deletions
|
|
@ -48,14 +48,14 @@ printf '\033[5 q'
|
|||
# Configure base16 shell for colors if the terminal is not running inside of
|
||||
# emacs
|
||||
#
|
||||
##if [[ -z INSIDE_EMACS ]]; then
|
||||
if [[ -z $INSIDE_EMACS ]]; then
|
||||
BASE16_SHELL="$HOME/.config/base16-shell/"
|
||||
[ -n "$PS1" ] && \
|
||||
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
||||
eval "$("$BASE16_SHELL/profile_helper.sh")"
|
||||
|
||||
$HOME/.dotfiles/bin/base16_theme;
|
||||
##fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Setup and export $PATH
|
||||
|
|
|
|||
Loading…
Reference in a new issue