more nu work

This commit is contained in:
insects 2024-11-06 15:27:46 +01:00
parent ae5aa4b3b2
commit a86c8ee8a8
2 changed files with 7 additions and 4 deletions

View file

@ -1,8 +1,5 @@
source ~/.config/nushell/.zoxide.nu
def src [] {
chezmoi apply; source $nu.env-path; source ~/.config/nushell/env.nu
}
use ($nu.default-config-dir | path join mise.nu)
# Aliases

View file

@ -71,4 +71,10 @@ $env.NU_PLUGIN_DIRS = [
($nu.default-config-dir | path join 'plugins') # add <nushell-config-dir>/plugins
]
# Init zoxide
zoxide init nushell | save -f ~/.config/nushell/.zoxide.nu
# Init mise
let mise_path = $nu.default-config-dir | path join mise.nu
mise activate nu | save $mise_path --force