zsh/local-bin.zsh

8 lines
310 B
Bash

# Make sure we include this file only once
if [ -z $LOCAL_BIN_ALREADY_SET ];
then
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"
fi