Created
January 1, 2023 11:53
-
-
Save ecormaksin/6a1f720ef7b5f5350fa2740f4575e344 to your computer and use it in GitHub Desktop.
add .local/bin to $PATH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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