about summary refs log tree commit diff
path: root/home/shell/fish/interactive.fish
blob: 4adcba8716ebbb38bbda7dd65d3ad6890ce0175e (plain) (blame)
1
2
3
4
5
6
7
8
# Tmux on terminal start, unless we're in a SSH connection
if status is-interactive
    if test -z "$SSH_CONNECTION"
        if not tmux has-session 2>/dev/null; or test -z "$TMUX"
            exec tmux new-session -A -s 0
        end
    end
end