autolaunch tmux without plugin

This commit is contained in:
Rudis Muiznieks 2023-09-09 09:48:00 -05:00
parent b425425f30
commit 0127ea6ee5
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 5 additions and 2 deletions

View File

@ -23,8 +23,6 @@ plug "zap-zsh/exa"
plug "zap-zsh/fzf" plug "zap-zsh/fzf"
plug "fdellwing/zsh-bat" plug "fdellwing/zsh-bat"
plug "lukechilds/zsh-nvm" plug "lukechilds/zsh-nvm"
TMUX_MOTD=false
plug "zpm-zsh/tmux"
# source external stuff # source external stuff
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
@ -46,3 +44,8 @@ if [ -d "$HOME/.config/plasma-workspace/env" ]; then
source "$sh" source "$sh"
done done
fi fi
# load tmux if it exists and we're not in it
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ linux ]] && [ -z "$TMUX" ]; then
exec tmux
fi