portable shebang

This commit is contained in:
Luke Smith
2019-08-18 12:28:11 -04:00
parent 6e67bd424d
commit 1bca65bfc2
31 changed files with 31 additions and 31 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env sh
# If $1 command is not available, error code and notify.
command -v "$1" >/dev/null || { notify-send "📦 $1" "must be installed for this function." && exit 1 ;}