dotfiles/nushell/config/update.nu

26 lines
362 B
Plaintext

# update completion
def _update_args [] {
[
system
rust
wasm
npm
dotfiles
neovim
check
startup
last-update
postpone
force-unlock
]
}
# update system
def u [arg?: string@_update_args] {
if $arg == null {
^update
} else {
^update $arg
}
}