summaryrefslogtreecommitdiff
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
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
-rwxr-xr-xdev-env2
-rwxr-xr-xold/neovim2
-rwxr-xr-xrun2
-rwxr-xr-xruns/plan92
-rwxr-xr-xscripts/brightness2
-rwxr-xr-xscripts/colortest2
-rwxr-xr-xscripts/dump-tool2
-rwxr-xr-xscripts/tmux-sessionizer2
-rwxr-xr-xutil2
9 files changed, 9 insertions, 9 deletions
diff --git a/dev-env b/dev-env
index d274d74..3fc30ac 100755
--- a/dev-env
+++ b/dev-env
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
source util
diff --git a/old/neovim b/old/neovim
index ed53afc..f9def56 100755
--- a/old/neovim
+++ b/old/neovim
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
source $HOME/personal/dotfiles/util
diff --git a/run b/run
index d675d40..c43809b 100755
--- a/run
+++ b/run
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
source util
diff --git a/runs/plan9 b/runs/plan9
index c725423..9434a6c 100755
--- a/runs/plan9
+++ b/runs/plan9
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
source $HOME/personal/dotfiles/util
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/
diff --git a/util b/util
index 8f39336..d6319bb 100755
--- a/util
+++ b/util
@@ -1,4 +1,4 @@
-#!/bin/zsh
+#!/usr/bin/env zsh
set -o shwordsplit