diff --git a/nushell/config.nu b/nushell/config.nu index 6f76bd6..b2abf8a 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -135,7 +135,11 @@ def _update_args [] { } def u [arg?: string@_update_args] { - ^update $arg + if $arg == null { + ^update + } else { + ^update $arg + } } # gclone aliases