fixed #1 and stderr perm issue
All checks were successful
/ Lint Check Shellscripts (push) Successful in 16s

This commit is contained in:
Phani Pavan K
2026-01-13 20:58:20 +05:30
parent 928e8b2d2d
commit a8ecdb60a5

5
penv
View File

@@ -62,8 +62,8 @@ create(){
mkdir -p "$HOME"/.envs
/usr/bin/python"$vers" -m venv "$HOME"/.envs/"$name"
source "$HOME"/.envs/"$name"/bin/activate
python -m pip install ipykernel ipywidgets > /dev/stderr
python -m ipykernel install --user --name "$name" > /dev/stderr
python -m pip install ipykernel ipywidgets
python -m ipykernel install --user --name "$name"
echo
echo "Created \"$name\". It should be available as a Jupyter Kernel."
echo "Use \"pact $name\" to activate in command line."
@@ -130,6 +130,7 @@ install() {
echo PENV already installed
exit 10
fi
mkdir -p "$HOME/.local/bin"
cp $(realpath "$0") "$HOME"/.local/bin/
mkdir -p "$HOME"/.envs/
echo "