legacy-dotfiles/bin/update_pac_cnt
Tom Willemsen 63bbc2e2ea ZSH: Change prompt again
Change the prompt and divide into extra files.
2012-01-06 16:02:15 +01:00

4 lines
100 B
Bash
Executable file

#!/bin/bash
/usr/bin/pacman -Qu 2>/dev/null \
| wc -l 2>/dev/null > ~/.local/share/updates.cnt