refactor(nushell): simplify alias
This commit is contained in:
parent
d2eaf9c064
commit
ac0241d27a
1 changed files with 1 additions and 8 deletions
|
@ -21,11 +21,4 @@ mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
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")
|
zoxide init nushell | save -f ($nu.data-dir | path join "vendor/autoload/zoxide.nu")
|
||||||
|
|
||||||
# A bit more advanced alias for `nh os`
|
alias nos = "nh os"
|
||||||
def nos [flags]: nothing -> nothing {
|
|
||||||
help nos
|
|
||||||
}
|
|
||||||
|
|
||||||
def "nos switch" []: nothing -> nothing {
|
|
||||||
nh os switch
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue