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 ```
7 lines
183 B
Bash
Executable File
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
|