autolaunch tmux without plugin
This commit is contained in:
parent
b425425f30
commit
0127ea6ee5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue