Update update.sh

This commit is contained in:
Christoffer Martinsson 2023-07-09 19:49:53 +00:00
parent eb8d6132e7
commit 68f20a95a3

View File

@ -181,7 +181,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 nvim)' >> ~/.bashrc
echo ' test -z "$TMUX" && (tmux attach || tmux new-session)' >> ~/.bashrc
echo "fi" >> ~/.bashrc
echo "fi" >> ~/.bashrc