Skip to content

Commit

Permalink
[zsh] do not source theme is terminal is opened from nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed May 16, 2024
1 parent c3edc68 commit 09fb565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export HOMEBREW_NO_AUTO_UPDATE="1"
export DOT_FILES="$HOME"/dot-files

# pick up base16 colortheme
if [[ -f ~/.base16_theme ]] && [[ "$__CFBundleIdentifier" != "com.apple.Terminal" ]]; then
if [[ -f /.base16_theme && -z "$NVIM" && "$__CFBundleIdentifier" != "com.apple.Terminal" ]]; then
. ~/.base16_theme
fi

Expand Down

0 comments on commit 09fb565

Please sign in to comment.