You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
703 B
Plaintext
23 lines
703 B
Plaintext
12 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
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"
|
||
|
|
||
6 years ago
|
export XDG_BIN_HOME=${XDG_BIN_HOME:="$HOME/.local/bin"}
|
||
6 years ago
|
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
|
||
6 years ago
|
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
|
||
6 years ago
|
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
|
||
12 years ago
|
|
||
4 years ago
|
[[ -f "${XDG_CONFIG_HOME}/user-dirs.dirs" ]] && eval "$(
|
||
|
awk '/^XDG_/ {print "export " $1}' "${XDG_CONFIG_HOME}/user-dirs.dirs"
|
||
|
)"
|
||
|
|
||
|
if [[ ${SHELL} = /bin/bash ]] || [[ ${SHELL} = /usr/local/bin/bash ]]; then
|
||
|
# shellcheck disable=SC1090
|
||
|
if [[ -f "${HOME}/.bashrc" ]]; then
|
||
|
source "${HOME}/.bashrc"
|
||
|
fi
|
||
|
fi
|