summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-02-08 20:08:39 +0100
committerRobin Krahl <me@robin-krahl.de>2018-02-08 20:08:39 +0100
commit63c61ba63a9dab45d0a0d5223c1fedfd92b1f085 (patch)
tree783616b858878eaf2ee36ad83ef0586ecaa9b1e2
parent9fde3e3b6cc6581f13387a99cf22ea8eed38d914 (diff)
downloaddotfiles-63c61ba63a9dab45d0a0d5223c1fedfd92b1f085.tar.gz
dotfiles-63c61ba63a9dab45d0a0d5223c1fedfd92b1f085.tar.bz2
sh: Add ~/bin to the path (if it exists)
-rw-r--r--.config/sh/environment.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/sh/environment.sh b/.config/sh/environment.sh
index 0c804c2..3d02b22 100644
--- a/.config/sh/environment.sh
+++ b/.config/sh/environment.sh
@@ -2,6 +2,11 @@ export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_DATA_HOME="${HOME}/.local/share"
+if [[ -d "${HOME}/bin" ]]
+then
+ export PATH="${PATH}:${HOME}/bin"
+fi
+
export CARGO_HOME="${XDG_DATA_HOME}/cargo"
export ELINKS_CONFDIR="${XDG_CONFIG_HOME}/elinks"
export GIMP2_DIRECTORY="${XDG_CONFIG_HOME}/gimp"