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 ```
This commit is contained in:
parent
24bdf7a404
commit
eda4a020bf
6
visor.zsh
Executable file
6
visor.zsh
Executable file
@ -0,0 +1,6 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user