This commit is contained in:
2024-06-26 06:25:36 -05:00
parent 2b24bdd4a5
commit bec224e0f4
3 changed files with 6 additions and 2 deletions

4
.zshrc
View File

@@ -31,6 +31,10 @@ alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.toml)"
if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
exec tmux attach
fi
if [[ -f "/opt/homebrew/bin/brew" ]] then
# If you're using macOS, you'll want this enabled
eval "$(/opt/homebrew/bin/brew shellenv)"