local-bin.zsh: changed guard variable to be in sync with $HOME/.xsessionrc

This commit is contained in:
Tobias Schmidl 2019-07-25 16:35:42 +02:00
parent 11dbc8071b
commit e9031e45a2

View file

@ -1,7 +1,7 @@
# Make sure we include this file only once
if [ -z $ZSH_LOCAL_BIN_ALREADY_SET ];
if [ -z $LOCAL_BIN_ALREADY_SET ];
then
export ZSH_LOCAL_BIN_ALREADY_SET=1
export 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"