change ls to find for pyls
This commit is contained in:
2
penv
2
penv
@@ -180,7 +180,7 @@ uninstall() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pyls(){
|
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
|
if [ "$#" -lt 1 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user