Files
dotfiles/chezmoi/dot_zshrc
2025-09-02 17:01:01 -04:00

54 lines
1.2 KiB
Plaintext

# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
plugins=(
asdf
aws
bgnotify
command-not-found
direnv
docker
docker-compose
eza
extract
gcloud
git
github
mix
python
tmux
zsh-autosuggestions
)
# asdf config
export ASDF_GOLANG_MOD_VERSION_ENABLED=true
export ASDF_NODEJS_LEGACY_FILE_DYNAMIC_STRATEGY=latest_installed
# eza plugin config
zstyle ':omz:plugins:eza' 'git-status' yes
zstyle ':omz:plugins:eza' 'header' yes
# python plugin config
export PYTHON_AUTO_VRUN=true
# OH MY ZSH!
source $ZSH/oh-my-zsh.sh
# Load starship
eval "$(starship init zsh)"
# Aliases
if command -v bat &> /dev/null; then
alias -- cat=bat
fi
if [[ -n $GHOSTTY_RESOURCES_DIR ]]; then
source "$GHOSTTY_RESOURCES_DIR"/shell-integration/zsh/ghostty-integration
fi
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/opt/homebrew/share/google-cloud-sdk/path.zsh.inc' ]; then . '/opt/homebrew/share/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/opt/homebrew/share/google-cloud-sdk/completion.zsh.inc' ]; then . '/opt/homebrew/share/google-cloud-sdk/completion.zsh.inc'; fi