diff --git a/.chezmoitemplates/zshrc_darwin.tmpl b/.chezmoitemplates/zshrc_darwin.tmpl index 5f67466..ec3b80f 100644 --- a/.chezmoitemplates/zshrc_darwin.tmpl +++ b/.chezmoitemplates/zshrc_darwin.tmpl @@ -131,6 +131,6 @@ export EDITOR=vim source <(/opt/homebrew/bin/starship init zsh --print-full-init) -if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ]; then +if [ -x "$(command -v tmux)" ] && [ -z "${TMUX}" ]; then exec tmux new-session -A -s ${USER} >/dev/null 2>&1 fi diff --git a/README_darwin.md b/README_darwin.md index a9145ed..b41b3ec 100644 --- a/README_darwin.md +++ b/README_darwin.md @@ -13,6 +13,8 @@ chezmoi init -v --apply ssh://git@brothertec.eu:1023/simono41/dotfiles.git ## Install some Terminal Tools ~~~ +brew install tmux +brew install reattach-to-user-namespace brew install starship brew install zsh-completions brew install zsh-autosuggestion