autolaunch tmux without plugin
This commit is contained in:
parent
b425425f30
commit
0127ea6ee5
1 changed files with 5 additions and 2 deletions
|
@ -23,8 +23,6 @@ plug "zap-zsh/exa"
|
|||
plug "zap-zsh/fzf"
|
||||
plug "fdellwing/zsh-bat"
|
||||
plug "lukechilds/zsh-nvm"
|
||||
TMUX_MOTD=false
|
||||
plug "zpm-zsh/tmux"
|
||||
|
||||
# source external stuff
|
||||
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||
|
@ -46,3 +44,8 @@ if [ -d "$HOME/.config/plasma-workspace/env" ]; then
|
|||
source "$sh"
|
||||
done
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue