From abebd302f91e419046eeac209ef3a0c497c6445d Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sun, 31 Mar 2024 11:41:52 +0300 Subject: ensure ~/.local/bin to be in path for ./dev.sh --- dev.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev.sh b/dev.sh index 75f756a..be5ea86 100755 --- a/dev.sh +++ b/dev.sh @@ -19,6 +19,10 @@ all Do it all: pytest, coverage report in firefox and pylint install Build poetry package and install it for current user " && exit 0 +# Ensure ~/.local/bin in the PATH. +echo $PATH | grep /.local/bin > /dev/null \ + || export PATH="$HOME/.local/bin:$PATH" + PIP=`which pipx` [ x$PIP = x ] && PIP=`which pip` [ x$PIP = x ] \ -- cgit v1.2.3