add pmsearch

This commit is contained in:
Liam Waldron 2023-03-28 16:58:05 -04:00
parent 9be5b35bcb
commit d895ae7db2

8
src/pmsearch Executable file
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}