diff --git a/dot_config/nushell/sys.nu b/dot_config/nushell/sys.nu index be5c5fc..0f0fc62 100644 --- a/dot_config/nushell/sys.nu +++ b/dot_config/nushell/sys.nu @@ -24,9 +24,7 @@ def rewatch [interval: duration, cmd: closure] { do $cmd | print sleep $interval } - } catch {|e| - if ($e.msg !~ "interrupted") { error make { msg: $e.msg } } - } + } catch { null } } # Environment variables as a filterable sorted table