diff options
Diffstat (limited to '.config/shell/sources')
-rw-r--r-- | .config/shell/sources | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/shell/sources b/.config/shell/sources index 0709911..62a7f7b 100644 --- a/.config/shell/sources +++ b/.config/shell/sources @@ -27,6 +27,13 @@ then PATH="$PATH:/usr/local/share/perl6/vendor/bin" fi +# Python packages +if command -v python >/dev/null 2>&1 +then + PATH="$PATH:$(python -c 'import site; print(":".join(map(lambda x: x + "/usr/bin", site.getsitepackages())))')" + PATH="$PATH:$(python -c 'import site; print(":".join(map(lambda x: x + "/usr/sbin", site.getsitepackages())))')" +fi + # Load color definitions if they exist if [ -f "$HOME/.config/shell/colors/$SHORTSHELL" ] then |