[zsh] add base16-shell as a plugin

This commit is contained in:
Dmytro Meleshko 2019-05-06 02:29:01 +03:00
parent 577ffbe0d7
commit 83106d42fb
3 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ let s:base16_theme_name = 'eighties'
" Color definitions {{{
let g:base16_shell_path = get(g:, 'base16_shell_path', expand('~/.config/base16-shell'))
let g:base16_shell_path = get(g:, 'base16_shell_path', expand('~/.zgen/chriskempson/base16-shell-master'))
let s:base16_shell_script = g:base16_shell_path . '/scripts/base16-' . s:base16_theme_name . '.sh'
if filereadable(s:base16_shell_script)
" call system(shellescape(s:base16_shell_script))

View File

@ -76,5 +76,7 @@ if ! zgen saved; then
zgen load denysdovhan/spaceship-prompt spaceship
zgen load chriskempson/base16-shell
zgen save
fi

View File

@ -9,7 +9,7 @@ done
command_exists rbenv && eval "$(rbenv init -)"
BASE16_SHELL="$HOME/.config/base16-shell/"
BASE16_SHELL="$HOME/.zgen/chriskempson/base16-shell-master"
BASE16_SHELL_profile_helper="$BASE16_SHELL/profile_helper.sh"
[[ -n "$PS1" && -r "$BASE16_SHELL_profile_helper" ]] && eval "$("$BASE16_SHELL_profile_helper")"