+### applications
+## python
+export PYTHONSTARTUP=~/.pythonrc
+## perl
+(( ${+commands[perl]} )) && eval $(perl -I $XDG_DATA_HOME/perl5/lib/perl5 -Mlocal::lib=$XDG_DATA_HOME/perl5 2>/dev/null)
+## gpg
+if (( ${+commands[gpg]} )) {
+ # SSH_AUTH_SOCK should be set in a remote SSH session for passthrough
+ # if it isn't, we are likely the first login shell on the local machine
+ # we also want to update USE_TTY if we are the login shell in graphics mode
+ if [[ ! -v SSH_AUTH_SOCK || -v DISPLAY ]] {
+ export GPG_TTY=$(tty)
+ export PINENTRY_USER_DATA=USE_TTY=$((! ${+DISPLAY}))
+ gpg-connect-agent UPDATESTARTUPTTY /bye >/dev/null
+ export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+ }
+}
+## xdg
+export XDG_CONFIG_HOME=~/etc
+export XDG_CONFIG_DIRS=~/.config:/usr/pkg/etc/xdg:/usr/local/etc/xdg:/etc/xdg
+export XDG_DATA_HOME=~/share
+export XDG_DATA_DIRS=~/.local/share:/usr/pkg/share:/usr/local/share:/usr/share
+export XDG_CACHE_HOME=~/tmp
+export XDG_RUNTIME_DIR=~/tmp
+## grep
+# XXX: deprecated in GNU
+export GREP_OPTIONS=--color=auto
+
+### tmp
+t="${TMPDIR:-/tmp}/home-$LOGNAME"