.bin/check_installed.sh:fc:3: no such event: 1 when trying to run a set of commands from script that work fine when ran in the terminal directly
Hello everyone. I wrote this command in the terminal directly and got the desired and expected output - that being the last 50 occurrences of me installing or removing a package with pacman or yay: history | grep -e ‘pacman -Ss’ -e ‘pacman -Rs’ -e ‘yay -Ss’ -e ‘yay -Rs’ | tail -n 50 > ~/history_installed...