From 92fe2a5a18cb074428b9c0aa85346907f2f68864 Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Sun, 20 Sep 2026 02:34:59 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=2064=20@=20lilac=20=E2=80=94=20202?= =?UTF-8?q?6-09-20=2002:34=2026.05.20260918.cf9d2fb=20(Yarara)=20-----?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/jashton.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/jashton.nix b/home/jashton.nix index b620813..7b16d76 100644 --- a/home/jashton.nix +++ b/home/jashton.nix @@ -116,14 +116,14 @@ in (pkgs.writeShellScriptBin "jrun" '' set -euo pipefail - if [ $# -lt 1 ]; then - echo "usage: jrun [args...]" >&2 + if [ $# -lt 2 ]; then + echo "usage: jrun [args...]" >&2 exit 1 fi ROOT="$(jroot)" cd "$ROOT" jbuild $1 - MAIN="$1"; shift + MAIN="./bin/$2/$3"; shift java -cp "bin:lib/*" "$MAIN" "$@" '')