From f220870b9eba0f56a58f54c2a03d5b7639494263 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Thu, 25 Jul 2019 16:34:11 +0200 Subject: [PATCH] local-bin.zsh: changed guard variable to be in sync with $HOME/.xsessionrc --- .xsessionrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .xsessionrc diff --git a/.xsessionrc b/.xsessionrc new file mode 100644 index 0000000..7738783 --- /dev/null +++ b/.xsessionrc @@ -0,0 +1,8 @@ +# Make sure we include this file only once +if [ -z $ZSH_LOCAL_BIN_ALREADY_SET ]; +then + export ZSH_LOCAL_BIN_ALREADY_SET=1 + # set PATH so it includes user's private bin if it exists + [ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH" + [ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH" +fi