This repository has no description
0

Configure Feed

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

tools.zsh: fix tmux starting on ssh commands on darwin

+2 -1
+2 -1
tools/zsh/flake-module.nix
··· 253 253 254 254 # Auto-start tmux for new sessions 255 255 # Check if we're already in tmux (even through sudo) 256 - if [[ "$TERM" != "linux" && -z "$TMUX" && "$TERM" != "dumb" ]]; then 256 + # Only run in interactive shells — non-interactive SSH commands must not exec tmux 257 + if [[ -o interactive && "$TERM" != "linux" && -z "$TMUX" && "$TERM" != "dumb" ]]; then 257 258 # Check if we're inside tmux by looking for tmux in the process tree 258 259 in_tmux=false 259 260 pid=$$