dotfiles

My showable dotfiles.
Log | Files | Refs | Submodules

commit d0509c9a7a9c3199755b852bdda8a4cae70949a5
parent 1d7c6ee2ad4fb56cf15d64de58dedce11d5837ea
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Thu,  8 Oct 2020 20:14:16 -0400

Configure terminal to automatically start tmux as default

Diffstat:
M.kshrc | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.kshrc b/.kshrc @@ -25,6 +25,11 @@ else LS='ls' fi +# Configure terminal to automatically start tmux as default +if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then + tmux attach -t default || tmux new -s default +fi + # aliases alias ferron='cd ~/Ferron/ && ./cornelius build' @@ -37,6 +42,6 @@ case "$(id -u)" in *) _PS1_COLOR='\[\033[32m\]' ;; esac -screenfetch +# screenfetch PS1='$_XTERM_TITLE\A $_PS1_COLOR\u@\h$_PS1_CLEAR:$_PS1_BLUE\w$_PS1_COLOR\$$_PS1_CLEAR '