mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] add base16-shell as a plugin
This commit is contained in:
parent
577ffbe0d7
commit
83106d42fb
3 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@ let s:base16_theme_name = 'eighties'
|
||||||
|
|
||||||
" Color definitions {{{
|
" 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'
|
let s:base16_shell_script = g:base16_shell_path . '/scripts/base16-' . s:base16_theme_name . '.sh'
|
||||||
if filereadable(s:base16_shell_script)
|
if filereadable(s:base16_shell_script)
|
||||||
" call system(shellescape(s:base16_shell_script))
|
" call system(shellescape(s:base16_shell_script))
|
||||||
|
|
|
@ -76,5 +76,7 @@ if ! zgen saved; then
|
||||||
|
|
||||||
zgen load denysdovhan/spaceship-prompt spaceship
|
zgen load denysdovhan/spaceship-prompt spaceship
|
||||||
|
|
||||||
|
zgen load chriskempson/base16-shell
|
||||||
|
|
||||||
zgen save
|
zgen save
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -9,7 +9,7 @@ done
|
||||||
|
|
||||||
command_exists rbenv && eval "$(rbenv init -)"
|
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"
|
BASE16_SHELL_profile_helper="$BASE16_SHELL/profile_helper.sh"
|
||||||
[[ -n "$PS1" && -r "$BASE16_SHELL_profile_helper" ]] && eval "$("$BASE16_SHELL_profile_helper")"
|
[[ -n "$PS1" && -r "$BASE16_SHELL_profile_helper" ]] && eval "$("$BASE16_SHELL_profile_helper")"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue