Remove auto enter tmux
This commit is contained in:
parent
a70c96afe2
commit
310f1d8579
@ -46,13 +46,6 @@ eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# ---- Auto Enter TMUX ----
|
||||
if [ -z "$TMUX" ] && [ "$TERM_PROGRAM" != "vscode" ] && [ "$TERM_PROGRAM" != "zed" ];
|
||||
then
|
||||
tmux attach -t TMUX || tmux new -s TMUX
|
||||
fi
|
||||
|
||||
|
||||
# bun completions
|
||||
[ -s "/opt/homebrew/Cellar/bun/1.1.26/share/zsh/site-functions/_bun" ] && source "/opt/homebrew/Cellar/bun/1.1.26/share/zsh/site-functions/_bun"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user