Created
April 12, 2019 14:14
-
-
Save ppetraki/79fe10087d44042efa8efa7340b21120 to your computer and use it in GitHub Desktop.
Add ~/.local/bin to path for use with pip install --user. Necessary if you wish to use the latest conan from pip.
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
# shellcheck shell=sh | |
# INSTALL to /etc/profile.d with perms 644 | |
# Expand $PATH to include the directory to include pip install --user apps | |
home_local_bin_path="~/.local/bin" | |
if [ -n "${PATH##*${home_local_bin_path}}" -a -n "${PATH##*${home_local_bin_path}:*}" ]; then | |
export PATH=$PATH:${home_local_bin_path} | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment