~kb/env

43373f9051fb20b092c025e50ed200bc6f4177b9 — kb 3 months ago 88c4d63
Fix base16 shell setup
1 files changed, 6 insertions(+), 3 deletions(-)

M programs/base16-shell.nix
M programs/base16-shell.nix => programs/base16-shell.nix +6 -3
@@ 8,11 8,14 @@ in
  programs.fish.interactiveShellInit = ''
    set BASE16_SHELL "${base16Shell}"
    source "$BASE16_SHELL/profile_helper.fish"
    base16-tomorrow-night
  '';

  programs.vim.extraConfig = ''
    let g:base16_shell_path="${base16Shell}"
    let base16colorspace=256
    source ~/.vimrc_background
    if exists('$BASE16_THEME')
      \ && (!exists('g:colors_name') || g:colors_name != 'base16-$BASE16_THEME')
      let base16colorspace=256
      colorscheme base16-$BASE16_THEME
    endif
  '';
}