diff --git a/apps/nogui/nushell/jolheiser.nu b/apps/nogui/nushell/jolheiser.nu index c6a7d3dbcf13d71a8f5837999f59d898ba23137b..d7eb6fa59e899cf6604445351ecdfd653a2c0234 100644 --- a/apps/nogui/nushell/jolheiser.nu +++ b/apps/nogui/nushell/jolheiser.nu @@ -69,18 +69,6 @@ rm -rf $tmp echo 'nixpkgs.lib.fileContents ./go.mod.sri' } -# Run a command if known, otherwise run it with nix -def , [ - cmd: string # The command to run - ...args: string # Command arguments; all flags MUST be quoted - ] { - if (not (which $cmd | is-empty)) { - ^$cmd ...$args - return - } - ^nix run $"nixpkgs#($cmd)" -- ...$args -} - ## Other ## $env.EDITOR = hx $env.config = ($env.config | upsert "shell_integration" ("WEZTERM_PANE" not-in $env and "SSH_CLIENT" not-in $env))