eval "$(oh-my-posh init zsh --config ~/dotfiles/misc_config/ohmyposh.json)"


source $(brew --prefix nvm)/nvm.sh
source <(fzf --zsh)

# Load seperated config files
for conf in "$HOME/dotfiles/zsh_config/"*.zsh; do
  source "${conf}"
done
unset conf

eval $(thefuck --alias)
eval "$(zoxide init zsh)"
# eval "$(starship init zsh)"
eval "$(atuin init zsh)"

# bun completions
[ -s "/Users/ghall/.bun/_bun" ] && source "/Users/ghall/.bun/_bun"


# Load Angular CLI autocompletion.
source <(ng completion script)

# Prevent "You have new mail" message
clear

if [ "$TERM_PROGRAM" = "ghostty" ]; then
  fastfetch
fi
