From bcc4964bc29c054a026984078527bcab095ee46c Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 21 Feb 2026 19:35:43 -0500 Subject: refactor!: Using /usr/bin/env shebangs Switched from /bin/bash and /bin/zsh to /usr/bin/env bash and /usr/bin/env zsh. This allows the shell paths to be set by users in their path. BREAKING CHANGE: /usr/bin/env SHELL_NAME used as shebangs now --- scripts/brightness | 2 +- scripts/colortest | 2 +- scripts/dump-tool | 2 +- scripts/tmux-sessionizer | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/brightness b/scripts/brightness index da5b675..0e483a8 100755 --- a/scripts/brightness +++ b/scripts/brightness @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash DDC_UTIL=$(which ddcutil) STEP="10" diff --git a/scripts/colortest b/scripts/colortest index f5b68f7..b2961b1 100755 --- a/scripts/colortest +++ b/scripts/colortest @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html diff --git a/scripts/dump-tool b/scripts/dump-tool index 414cf63..6fc501f 100755 --- a/scripts/dump-tool +++ b/scripts/dump-tool @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash LEVEL='0' PROG_NAME="$(basename $0)" diff --git a/scripts/tmux-sessionizer b/scripts/tmux-sessionizer index 3780e18..eb4b8f1 100755 --- a/scripts/tmux-sessionizer +++ b/scripts/tmux-sessionizer @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh # This script is stolen from The Primeagen # https://github.com/ThePrimeagen/.dotfiles/ -- cgit v1.2.3