Skip to content

Instantly share code, notes, and snippets.

@ppetraki
Created April 12, 2019 14:14
Show Gist options
  • Save ppetraki/79fe10087d44042efa8efa7340b21120 to your computer and use it in GitHub Desktop.
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.
# 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