transitioning from screen to tmux

GNU screen is deprecated in redhat 7 & unavailable in redhat 8

The usurper tmux is available however, and with a compatibility config (I prefer to set the bind-prefix to ^W) things can be made bearable.

This shell function will help with the muscle memory of screen -r

screen () {
	if [[ "$1" == "-r" ]]; then
		tmux attach-session
	else
		tmux $@
	fi
}

Leave a Reply

Your email address will not be published. Required fields are marked *