From 8bc7e495af42c778143771179d23312f8ff7a3c8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 30 Aug 2025 22:19:33 +1000 Subject: [PATCH] dev: better direnv Override caelestia command with dev version instead of using ./run.sh Allows completions to work --- .envrc | 6 +++++- run.sh => bin/caelestia | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) rename run.sh => bin/caelestia (71%) diff --git a/.envrc b/.envrc index 3550a30..612703d 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,5 @@ -use flake +if has nix; then + use flake +fi + +PATH_add bin diff --git a/run.sh b/bin/caelestia similarity index 71% rename from run.sh rename to bin/caelestia index aae070b..9afa4f7 100755 --- a/run.sh +++ b/bin/caelestia @@ -2,6 +2,6 @@ # Utility script for running caelestia -cd "$(dirname $0)/src" || exit +cd "$(dirname $0)/../src" || exit python -m caelestia "$@"