dotfiles/nushell/config/update.nu

26 lines
362 B
Plaintext
Raw Normal View History

2023-11-13 09:59:32 +00:00
# update completion
def _update_args [] {
[
system
rust
wasm
npm
dotfiles
neovim
check
startup
last-update
postpone
force-unlock
]
}
2023-11-24 09:14:42 +00:00
# update system
2023-11-13 09:59:32 +00:00
def u [arg?: string@_update_args] {
if $arg == null {
^update
} else {
^update $arg
}
}