diff --git a/.zshrc b/.zshrc index a4e5f03..7427652 100644 --- a/.zshrc +++ b/.zshrc @@ -78,7 +78,6 @@ alias lc="docker container ls" alias vim="nvim" alias resource="source ~/.zshrc" -alias almond-dev="~/.tmux/almond-dev" # Dotfiles alias for easy dotfile management alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' @@ -100,3 +99,8 @@ alias tlmgr='/usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode' alias gitcommiiiiiiiiiiiiiit='cz' alias clip='xclip -selection primary' + +# Finally, start a tmux session +[ -x "$(command -v tmux)" ] \ + && [ -z "${TMUX}" ] \ + && { tmux attach || tmux new -s Halia -n Local -d && tmux attach; }