# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh

plugins=(
  asdf
  aws
  command-not-found
  direnv
  docker
  docker-compose
  eza
  extract
  gcloud
  git
  github
  mix
  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

# 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