Add xdg base directory spec
parent
c9fc813e19
commit
a60b752614
@ -1,18 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
fi
|
||||
|
||||
export LANGUAGE="en_US:en"
|
||||
export LC_MESSAGES="en_US.UTF-8"
|
||||
export LC_CTYPE="en_US.UTF-8"
|
||||
export LC_COLLATE="en_US.UTF-8"
|
||||
|
||||
# Load RVM into a shell session *as a function*
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
|
||||
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
|
||||
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
|
||||
|
||||
[[ -f ~/.nvm/nvm.sh ]] && source ~/.nvm/nvm.sh
|
||||
[[ -r $NVM_DIR/bash_completion ]] && source $NVM_DIR/bash_completion
|
||||
|
Loading…
Reference in New Issue