add wezterm check
This commit is contained in:
parent
27d3702f49
commit
2f4da50278
2 changed files with 2 additions and 2 deletions
|
@ -131,6 +131,6 @@ export EDITOR=vim
|
|||
|
||||
source <(/opt/homebrew/bin/starship init zsh --print-full-init)
|
||||
|
||||
if [ -x "$(command -v tmux)" ] && [ -z "${TMUX}" ]; then
|
||||
if [ -x "$(command -v tmux)" ] && [ -z "${TMUX}" ] && [ -n "${WEZTERM_CONFIG_DIR}" ]; then
|
||||
exec tmux new-session -A -s ${USER} >/dev/null 2>&1
|
||||
fi
|
||||
|
|
|
@ -130,6 +130,6 @@ eval "$(starship init zsh)"
|
|||
|
||||
test -e "$HOME/.shellfishrc" && source "$HOME/.shellfishrc"
|
||||
|
||||
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ]; then
|
||||
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [ -n "${WEZTERM_CONFIG_DIR}" ]; then
|
||||
exec tmux new-session -A -s ${USER} >/dev/null 2>&1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue