catthehacker / docker_images

Docker images
MIT License
212 stars 75 forks source link

Add ~/.local/bin to PATH. #130

Open satwell opened 2 months ago

satwell commented 2 months ago

Python's pip and pipx put executable for user-installed modules into ~/.local/bin. Also the XDG basedir specification recommends adding it to PATH, so this may help more than just Python.

Normally on Ubuntu, this is handled by the ~/.profile that's copied from /etc/skel. But since we don't have normal shell initialization, we need to add it to the PATH set in /etc/environment.

Fixes #128.