Initial commit

This commit is contained in:
Bradley Richins
2020-04-07 20:05:59 -06:00
commit b25fde0812
9 changed files with 791 additions and 0 deletions

8
files/tmux-local.zsh Normal file
View File

@@ -0,0 +1,8 @@
if [[ -z "$TMUX" ]] && [ "$SSH_CONNECTION" = "" ]; then
tmux has-session -t $(tty | sed 's/^.....//') 2>/dev/null
if [ $? != 0 ]; then
exec tmux new-session -s $(tty | sed 's/^.....//')
else
exec tmux attach-session -t $(tty | sed 's/^.....//')
fi
fi