change ls to find for pyls

This commit is contained in:
Phani Pavan K
2026-02-06 12:52:52 +05:30
parent 0edc8467fd
commit 782ef16107

2
penv
View File

@@ -180,7 +180,7 @@ uninstall() {
}
pyls(){
ls /usr/bin/python3.* /usr/local/bin/python3.* 2> /dev/null | tr " " "\n" | grep "3.*" --color=always
find /usr/local/bin /usr/bin -name python3.* 2> /dev/null | tr " " "\n" | grep "3.*" --color=always
}
if [ "$#" -lt 1 ]; then