prepend_path(){case":${PATH:=$1}:"in# adds the new directory if PATH is empty, returns PATH otherwise*:"$1":*);;# already included, don't add to PATH*)PATH="$1:$PATH";;# prepend the new directoryesac}exportGOPATH="$HOME/code/go"prepend_path"$GOPATH/bin"prepend_path"$HOME/.ghcup/bin"prepend_path"$HOME/.cabal/bin"prepend_path"$HOME/.cargo/bin"prepend_path"$HOME/.local/bin"which fnm >/dev/null 2>/dev/null&&eval"$(fnm env)"PS_RESET='\[\e[0m\]'PS_BOLD='\[\e[1m\]'PS_GREEN='\[\e[32m\]'PS_BLUE='\[\e[34m\]'exportPS1="${PS_BOLD}${PS_GREEN}\u@\h ${PS_BLUE}\w \\$ ${PS_RESET}"exportPROMPT_COMMAND='history -a'# use rg to list files for fzf, with the effect that .gigignored files don't# show upexportFZF_DEFAULT_COMMAND="rg --glob !.pijul --files --hidden"exportDOTNET_ROOT=/snap/dotnet-sdk/current