tmux/visor.zsh
Kenneth Benzie (Benie) eda4a020bf Add visor.zsh for use with iTerm2
iTerm2 has tmux integration which I don't care for, this integration
mucks up using tmux as the shell for a profile. To work around this, the
`visor.zsh` script is used in the _Send text at start_ for the a Quake
style visor profile as follows:

```
source ~/.config/tmux/visor.zsh
```
2020-10-18 16:35:30 +01:00

7 lines
183 B
Bash
Executable File

if ! tmux list-sessions -F '#{session_name}' | grep 'visor' > /dev/null; then
tmux new-session -d -s visor
tmux rename-window -t visor:0 home
fi
tmux attach-session -t visor
exit