more nu work
This commit is contained in:
parent
ae5aa4b3b2
commit
a86c8ee8a8
2 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue