summaryrefslogtreecommitdiffstatshomepage
path: root/just-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'just-lib.sh')
-rw-r--r--just-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/just-lib.sh b/just-lib.sh
index 47cceb3..1846c26 100644
--- a/just-lib.sh
+++ b/just-lib.sh
@@ -37,7 +37,7 @@ _is_zsh() {
}
_is_shellscript() {
- head -1 "$1" 2>/dev/null | grep -qE '^#!.*\b(ba)?sh\b'
+ head -1 "$1" 2>/dev/null | grep -qE '^#!.*[/[:space:]](ba|da)?sh([[:space:]]|$)'
}
_flatpak_install_declared() {