zsh/local-bin.zsh
2021-12-11 11:49:53 +01:00

9 lines
332 B
Bash

#! /bin/zsh
# 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