Added .start

This commit is contained in:
Christoffer Martinsson 2023-07-10 01:16:08 +02:00
parent 2ec3c658bc
commit bddde0272b

View File

@ -199,7 +199,7 @@ printf -- '\033[33m Adding tmux/nvim autostart to bashrc\n\033[37m'
echo "# TMUX" >> ~/.bashrc
echo "if [[ ! \$TERM =~ screen ]]; then" >> ~/.bashrc
echo "if which tmux >/dev/null 2>&1; then" >> ~/.bashrc
echo ' test -z "$TMUX" && (tmux attach || tmux new-session)' >> ~/.bashrc
echo ' test -z "$TMUX" && (tmux attach || tmux new-session ~/.start)' >> ~/.bashrc
echo "fi" >> ~/.bashrc
echo "fi" >> ~/.bashrc