You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
546 B

if command -v tmux>/dev/null; then
if [[ -z "$TMUX" ]]; then
if tmux has-session 2>/dev/null; then
tmux attach
else
tmux
fi
fi
fi
#tmux attach || tmux new
. ~/.bashrc
if [[ -f ~/.env ]]; then
. ~/.env
fi