unset HISTFILE

export PS1='\u@\h \W \$ '

if [ -f ~/.config/dg-bash/aliases.sh ]; then
  source ~/.config/dg-bash/aliases.sh
fi

if [ -f ~/.config/dg-bash/functions.sh ]; then
  source ~/.config/dg-bash/functions.sh
fi

if [ -x "$(command -v go)" ]; then
  if [ -d "$(go env GOPATH)/bin" ]; then 
    export PATH=$PATH:$(go env GOPATH)/bin
  fi
fi

if [ -x "$(command -v ollama)" ]; then
  export OLLAMA_KEEP_ALIVE=10m
fi

if [ -x "$(command -v fastfetch)" ]; then
  if [ -f ~/.config/fastfetch/minimal.jsonc ]; then
    fastfetch -c ~/.config/fastfetch/minimal.jsonc
  else
    fastfetch
  fi
fi

echo -e "\nShall we play a game?"

# opencode
export PATH=/home/dilan/.opencode/bin:$PATH
