Browse Source

tmux added to zsh additions

master
Dirk Alders 1 year ago
parent
commit
a36e7f81c1
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      zshrc.d/__available__/tmux.zsh

+ 4
- 0
zshrc.d/__available__/tmux.zsh View File

1
+if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
2
+  exec tmux_default
3
+fi
4
+

Loading…
Cancel
Save