BetterPacmanLook
An improved version of the common pacman -S
.
Installation
I know that this is probably one of the worst solutions and i will be working on a better one.
But for now
- Clone the repo
- Paste this into your
.zshrc
or.bashrc
but change the path
pmlook() {
if [ $# -ne 1 ];
then
pacman -Ss "$1" | python ~/path/of/main.py "$2"
else
pacman -Ss "$1" | python ~/path/of/main.py
fi
}
- Now just close and open the console
Testing
cd BetterPacmanLook
cat test.txt | python main.py