From e2747a706d0653220e70246c925a60cd55b612d1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 3 Mar 2022 01:17:04 -0800 Subject: Update scsh file headers for shell scripts Other file headers come with caveats: - ‘#!/usr/bin/scsh -s’ :: Now that scsh is installed through Guix, this is not where this file lives. - ‘#!/usr/bin/env -S scsh -s’ :: This doesn't work when we need to specify move arguments on the command line and need to use the meta-argument. ‘env -S scsh \’ doesn't work. --- hlwm-run-or-raise | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hlwm-run-or-raise b/hlwm-run-or-raise index 85d7389..0657088 100755 --- a/hlwm-run-or-raise +++ b/hlwm-run-or-raise @@ -1,4 +1,7 @@ -#!/usr/bin/scsh -s +#!/usr/bin/env sh +# # -*- mode: scheme; -*- +IFS=" " +exec scsh -s "$0" "$@" !# ;; hlwm-run-or-raise --- Raise a window or start a new process ;; -- cgit v1.2.3-54-g00ecf