diff --git a/.bashrc b/.bashrc index c2af104..7070dcc 100644 --- a/.bashrc +++ b/.bashrc @@ -66,4 +66,10 @@ if [ -x /usr/bin/dircolors ]; then alias egrep='egrep --color=auto' fi -export PS1="\t:\[$(tput sgr0)\]\[\033[38;5;93m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]:\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" \ No newline at end of file +export PS1="\t:\[$(tput sgr0)\]\[\033[38;5;93m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]:\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" + +tmux attach &> /dev/null + +if [[ ! $TERM =~ screen ]]; then + exec tmux +fi