Created
March 11, 2019 11:00
-
-
Save wobbol/c5fc570dc3807b84effe53c56c588e7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## put this at the bottom of your ~/.bashrc | |
## | |
[[ -n ${TMUX} ]] && return | |
[[ -n ${FALLBACK_SHELL} ]] && return | |
[[ ${TERM} != "linux" ]] && return | |
if [[ "$(tty)" = /dev/tty1 ]]; then | |
return | |
fi | |
exec ~/bin/bgterm -- tmux -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment