this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[tmux-named] treat ghostty as tmux default; allow others

+7 -5
+7 -5
dot_bin/executable_tmux-named
··· 20 20 if [[ -z `which tmux` ]]; then echo "You need tmux first!"; exit 1; fi 21 21 22 22 # figure out what terminal program we're inside 23 - # terminal="${__CFBundleIdentifier#*.*.}" 24 - # terminal="${terminal:-${TERM#xterm-}}" 25 - # [[ "$terminal" == "256color" ]] && terminal="Terminal" 26 - # terminal="${terminal:-unknown}" 27 - terminal="shared" 23 + terminal="${__CFBundleIdentifier#*.*.}" 24 + terminal="${terminal:-${TERM#xterm-}}" 25 + [[ "$terminal" == "256color" ]] && terminal="Terminal" 26 + terminal="${terminal:-default}" 27 + 28 + # treat ghostty as the default terminal 29 + [[ "$terminal" == "ghostty" ]] && terminal="default" 28 30 29 31 # Make sure there is a 'name' session 30 32 tmux -L "$terminal" has-session -t "$name" 2> /dev/null || TMUX= tmux -L "$terminal" new -d -s "$name"