nushell: add nu_scripts to NU_LIB_DIRS
All checks were successful
/ check (push) Successful in 7m46s
All checks were successful
/ check (push) Successful in 7m46s
This commit is contained in:
parent
84bac3cf2e
commit
1a37a82af9
1 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,8 @@ in
|
|||
${config.programs.zoxide.package}/bin/zoxide init nushell ${zoxideOptions} | save --force ${config.xdg.cacheHome}/zoxide/init.nu
|
||||
# Temporary fix until zoxide releases new version
|
||||
sed -i 's/def-env/def --env/g' ${config.xdg.cacheHome}/zoxide/init.nu
|
||||
|
||||
$env.NU_LIB_DIRS = ($env.NU_LIB_DIRS | append ${pkgs.nu_scripts}/share/nu_scripts)
|
||||
'';
|
||||
extraConfig = ''
|
||||
alias vim = nvim
|
||||
|
@ -40,7 +42,9 @@ in
|
|||
|
||||
use kink.nu
|
||||
|
||||
use ${pkgs.nu_scripts}/share/nu_scripts/themes/nu-themes/dracula.nu
|
||||
# use ${pkgs.nu_scripts}/share/nu_scripts/themes/nu-themes/dracula.nu
|
||||
use themes/nu-themes/dracula.nu
|
||||
|
||||
$env.config = ($env.config | merge { color_config: (dracula)})
|
||||
|
||||
source ${config.xdg.cacheHome}/zoxide/init.nu
|
||||
|
|
Loading…
Reference in a new issue