From bd32f1a7683e7bb80f20bd7a41d83c6a708d5833 Mon Sep 17 00:00:00 2001 From: Will Cygan Date: Wed, 27 Aug 2025 12:14:19 -0600 Subject: [PATCH] feat: improve NixOS compatibility with portable shebang - Change #!/bin/bash to #!/usr/bin/env bash in all shell scripts - This allows scripts to work on NixOS and other distributions where bash is not at /bin/bash Files modified: - install.sh - scripts/find_python.sh - scripts/run_python.sh - uninstall.sh --- install.sh | 2 +- scripts/find_python.sh | 2 +- scripts/run_python.sh | 2 +- uninstall.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 504b968..854d841 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eo pipefail # Claude Code PROJECT_INDEX Installer diff --git a/scripts/find_python.sh b/scripts/find_python.sh index 9609a3c..20ca492 100755 --- a/scripts/find_python.sh +++ b/scripts/find_python.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Python finder for PROJECT_INDEX # Finds the newest Python 3.8+ version available diff --git a/scripts/run_python.sh b/scripts/run_python.sh index 31f866c..8026f3d 100755 --- a/scripts/run_python.sh +++ b/scripts/run_python.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Python runner that uses the saved Python command from installation INSTALL_DIR="$HOME/.claude-code-project-index" diff --git a/uninstall.sh b/uninstall.sh index b288eb5..9d2cf27 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -eo pipefail # Claude Code PROJECT_INDEX Uninstaller