From 2770d1155ae1503dfaa7807548363e77cb849e9c Mon Sep 17 00:00:00 2001 From: Christoph Dalski Date: Tue, 15 Sep 2026 16:53:45 +0200 Subject: [PATCH] fix: login shell path interpreted as string by modern shells The single quotes around the login shell path are interpreted as string by modern shells like nushell. The exec call breaks. Tested locally with nushell. Fixes: #221 --- data/start-cosmic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/start-cosmic b/data/start-cosmic index 18944fc..a5f1842 100755 --- a/data/start-cosmic +++ b/data/start-cosmic @@ -24,7 +24,7 @@ if [ -n "${SHELL}" ]; then # --in-login-shell: our flag to indicate that we don't need to recurse any further if [ "${1}" != "--in-login-shell" ]; then # `-l`: start $SHELL as a login shell so it sources the user's profile. - exec "${SHELL}" -l -c "'${0}' --in-login-shell" + exec "${SHELL}" -l -c "${0} --in-login-shell" fi fi