diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-02-14 16:27:57 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-02-14 16:27:57 +0400 |
| commit | d7c73ec2ec477da03deaf973f0eafbfa0e0b3f73 (patch) | |
| tree | 284807858da228e4a4a763cd7be8425b72bce6c8 /.zshrc | |
| parent | ee050df50478a90d518db3e76d6b22b3f9b56378 (diff) | |
add tmux autostart to zshrc
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -64,3 +64,7 @@ set_prompt() { set_prompt source $HOME/.zprofile + +if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then + exec tmux +fi |