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
Bash
23 lines
703 B
Bash
#!/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"
|
|
|
|
export XDG_BIN_HOME=${XDG_BIN_HOME:="$HOME/.local/bin"}
|
|
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
|
|
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
|
|
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
|
|
|
|
[[ -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
|