From 782ef16107c3b2fabfc62bc682b1593956749e13 Mon Sep 17 00:00:00 2001 From: Phani Pavan K Date: Fri, 6 Feb 2026 12:52:52 +0530 Subject: [PATCH] change ls to find for pyls --- penv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/penv b/penv index 0fcf4c0..454cf8c 100755 --- a/penv +++ b/penv @@ -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