by mjbrownie · 7y ago · 0 comments
pc:bt2$ cat ~/bin/t
#!/bin/bash
if [[ $# == 0 ]]; then
echo tmux list-sessions
echo
tmux list-sessions
echo
echo tmuxp sessions
echo
ls ~/.tmuxp
else
tmuxp load $1 || tmux attach -t $1 || tmux new-session -s $1
fi
usage "t session_name"No comments yet.