update user bin setup
This commit is contained in:
parent
e6fe4a529b
commit
789425cc74
1 changed files with 8 additions and 8 deletions
|
@ -24,14 +24,14 @@ elif (( $+commands[python] )); then
|
||||||
# Prepend PEP 370 per user site packages directory, which defaults to
|
# Prepend PEP 370 per user site packages directory, which defaults to
|
||||||
# ~/Library/Python on macOS and ~/.local elsewhere, to PATH. The
|
# ~/Library/Python on macOS and ~/.local elsewhere, to PATH. The
|
||||||
# path can be overridden using PYTHONUSERBASE.
|
# path can be overridden using PYTHONUSERBASE.
|
||||||
if [[ -n "$PYTHONUSERBASE" ]]; then
|
# if [[ -n "$PYTHONUSERBASE" ]]; then
|
||||||
path=($PYTHONUSERBASE/bin $path)
|
# path=($PYTHONUSERBASE/bin $path)
|
||||||
elif [[ "$OSTYPE" == darwin* ]]; then
|
# elif [[ "$OSTYPE" == darwin* ]]; then
|
||||||
path=($HOME/Library/Python/*/bin(N) $path)
|
# path=($HOME/Library/Python/*/bin(N) $path)
|
||||||
else
|
# else
|
||||||
# This is subject to change.
|
# # This is subject to change.
|
||||||
path=($HOME/.local/bin $path)
|
# path=($HOME/.local/bin $path)
|
||||||
fi
|
# fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function _python-workon-cwd {
|
function _python-workon-cwd {
|
||||||
|
|
Loading…
Add table
Reference in a new issue