From 577ffbe0d7e83de23762289b733bd99beec20cf4 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Mon, 6 May 2019 02:24:22 +0300 Subject: [PATCH] [zsh] add base16-shell --- zsh/zshrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 68b5373..099e3d7 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -7,8 +7,10 @@ for script in functions path env plugins aliases palette theme; do source_if_exists "$ZSH_DOTFILES/custom/$script.zsh" done -if command_exists rbenv; then - eval "$(rbenv init -)" -fi +command_exists rbenv && eval "$(rbenv init -)" + +BASE16_SHELL="$HOME/.config/base16-shell/" +BASE16_SHELL_profile_helper="$BASE16_SHELL/profile_helper.sh" +[[ -n "$PS1" && -r "$BASE16_SHELL_profile_helper" ]] && eval "$("$BASE16_SHELL_profile_helper")" welcome