diff options
author | Robin Krahl <me@robin-krahl.de> | 2018-02-27 22:55:46 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2018-02-27 22:55:46 +0100 |
commit | ec6bec1983a8ecd2dc9f3fa075964be64cad3981 (patch) | |
tree | 4155efe0c5915dbb058e3abe1399ff719ddcd216 /sh/.config/env | |
parent | d5ff981fa61890c3df2997fd35f189e409476d0d (diff) | |
download | dotfiles-ec6bec1983a8ecd2dc9f3fa075964be64cad3981.tar.gz dotfiles-ec6bec1983a8ecd2dc9f3fa075964be64cad3981.tar.bz2 |
Modularize environment variables
Diffstat (limited to 'sh/.config/env')
-rw-r--r-- | sh/.config/env/00-xdg.sh | 3 | ||||
-rw-r--r-- | sh/.config/env/10-path.sh | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sh/.config/env/00-xdg.sh b/sh/.config/env/00-xdg.sh new file mode 100644 index 0000000..51404c7 --- /dev/null +++ b/sh/.config/env/00-xdg.sh @@ -0,0 +1,3 @@ +export XDG_CONFIG_HOME="${HOME}/.config" +export XDG_CACHE_HOME="${HOME}/.cache" +export XDG_DATA_HOME="${HOME}/.local/share" diff --git a/sh/.config/env/10-path.sh b/sh/.config/env/10-path.sh new file mode 100644 index 0000000..67cb738 --- /dev/null +++ b/sh/.config/env/10-path.sh @@ -0,0 +1,4 @@ +if [ -d "${HOME}/bin" ] +then + export PATH="${PATH}:${HOME}/bin" +fi |