From 63c61ba63a9dab45d0a0d5223c1fedfd92b1f085 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 8 Feb 2018 20:08:39 +0100 Subject: sh: Add ~/bin to the path (if it exists) --- .config/sh/environment.sh | 5 +++++ 1 file changed, 5 insertions(+) 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" -- cgit v1.2.3