Skip to content

Commit b6b6788

Browse files
committed
fix: script launch in Ghostty terminal #139
1 parent d28b577 commit b6b6788

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

package/contents/tools/sh/terminal

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ termArg="${termArg[$term]:-"-e"}"
1313
scr="$(dirname "$0")/$1"
1414
arg="${@:2}"
1515

16-
# Ghostty requires additional quotes
17-
[[ $term = ghostty ]] && Q="'"
18-
19-
_attach="${Q}tmux attach-session -t $sess \; select-window -t $name${Q}"
20-
_script="${Q}$scr $arg${Q}"
16+
_attach="tmux attach-session -t $sess \; select-window -t $name"
17+
_script="$scr $arg"
2118

2219
[[ $tmuxSession = "true" && -x $(command -v tmux) ]] && _TMUX=1
2320

0 commit comments

Comments
 (0)