dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 7ffc866d9357aca5c2321b9cb78d4501bc2972d5
parent 5c9a750730751eba8fea89ab4d4912dc6e00bfc9
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 22 Jun 2022 18:39:03 -0700

Add python user module bin directory to PATH

If python3 is installed, then add the bin directory under the
python user-base directory to the path. On macOS this is currently
~/Library/Python/3.8/bin.

Diffstat:
M.paths | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.paths b/.paths @@ -50,6 +50,11 @@ if which ruby >/dev/null && which gem >/dev/null; then path_prepend "$(ruby -r rubygems -e 'puts Gem.user_dir')/bin" fi +# Python modules +if which python3 >/dev/null; then + path_prepend "$(python3 -m site --user-base)/bin" +fi + # Rust path_prepend "$HOME/.cargo/bin"