feat(nushell): add some config options

This commit is contained in:
Artur Manuel 2025-01-29 19:21:32 +00:00
commit d2eaf9c064
2 changed files with 29 additions and 11 deletions

View file

@ -20,3 +20,12 @@
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
zoxide init nushell | save -f ($nu.data-dir | path join "vendor/autoload/zoxide.nu")
# A bit more advanced alias for `nh os`
def nos [flags]: nothing -> nothing {
help nos
}
def "nos switch" []: nothing -> nothing {
nh os switch
}