export $(dbus-launch)
export ZELLIJ_START=false
export ZSH="$HOME/.oh-my-zsh"
export OS_ID="$(grep -i -w 'ID=' /etc/os-release | awk -F= '{print $2}')"
export OS="$(grep -i -w "ID=" /etc/os-release | grep -oP '(?<=")[^"]*')"

# nekoray :
export NEKORAY_PATH=/opt/nekoray/nekoray

# vscode :
export CODE_PATH=/opt/vscode/code

# dotfiles :
export DOTFILES=$HOME/.dots-hyprland

# void packages :
export VOID_PACKAGES_PATH=$HOME/.local/pkgs/void-packages

# adb :
if [ -d "$HOME/platform-tools" ]; then
    export PATH="$HOME/platform-tools:$PATH"
fi

# deno :
export DENO_INSTALL="/home/$USER/.deno"
export PATH="$HOME/.local/share/bob/nvim-bin:$PATH"
export PATH="$DENO_INSTALL/bin:$PATH"

# cargo :
. "$HOME/.cargo/env"

# nvm :
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

# bun :
[ -s "/home/$USER/.bun/_bun" ] && source "/home/$USER/.bun/_bun"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
