Add user dirs as environment variables

main
Buddy Sandidge 5 years ago
parent b437627f10
commit b825dca18c

@ -12,6 +12,8 @@ export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export NVM_DIR="${XDG_CONFIG_HOME}/nvm"
[[ -f $XDG_CONFIG_HOME/user-dirs.dirs ]] && eval $(
cat $XDG_CONFIG_HOME/user-dirs.dirs | awk '/^XDG_/ {print "export " $1}')
[[ -f $HOME/.bashrc ]] && source $HOME/.bashrc
[[ -f $NVM_DIR/nvm.sh ]] && source $NVM_DIR/nvm.sh
[[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion

Loading…
Cancel
Save