Skip to content

Instantly share code, notes, and snippets.

@ecormaksin
Created January 1, 2023 11:53
Show Gist options
  • Save ecormaksin/6a1f720ef7b5f5350fa2740f4575e344 to your computer and use it in GitHub Desktop.
Save ecormaksin/6a1f720ef7b5f5350fa2740f4575e344 to your computer and use it in GitHub Desktop.
add .local/bin to $PATH
LOCAL_BIN_DIR=$HOME/.local/bin
echo $PATH | grep $LOCAL_BIN_DIR >/dev/null
if [ $? -ne 0 ]; then
export PATH=$LOCAL_BIN_DIR:$PATH
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment