add pmsearch

This commit is contained in:
lw-everestlinux committed 2023-03-28 16:58:05 -04:00
1 parent 9be5b35bcb
commit d895ae7db2
1 file changed
+8
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
if [ ${1} = "" ]; then
printf "no search prompt given\n"
exit 1
fi
cat /etc/pm/entries | grep ${1}