summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 19:35:43 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 19:35:43 -0500
commitbcc4964bc29c054a026984078527bcab095ee46c (patch)
treef14216751a2d2dcebb5625e4709aa421d0697db8 /scripts
parent6b5fcfdb983d41d6a0da32f7cbad1a38a0202aa5 (diff)
refactor!: Using /usr/bin/env shebangsv1.0.1
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/brightness2
-rwxr-xr-xscripts/colortest2
-rwxr-xr-xscripts/dump-tool2
-rwxr-xr-xscripts/tmux-sessionizer2
4 files changed, 4 insertions, 4 deletions
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/