add line to always open tmux

pull/1/head
jowj 6 years ago
parent 497cf26a02
commit c19218cede

@ -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)\]"
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

Loading…
Cancel
Save