From 63bbc2e2ea8c0a5a26571b95f6b61e6f6a39b0ab Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 6 Jan 2012 16:02:15 +0100 Subject: ZSH: Change prompt again Change the prompt and divide into extra files. --- bin/update_pac_cnt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/update_pac_cnt (limited to 'bin/update_pac_cnt') diff --git a/bin/update_pac_cnt b/bin/update_pac_cnt new file mode 100755 index 0000000..320e8a9 --- /dev/null +++ b/bin/update_pac_cnt @@ -0,0 +1,4 @@ +#!/bin/bash + +/usr/bin/pacman -Qu 2>/dev/null \ + | wc -l 2>/dev/null > ~/.local/share/updates.cnt -- cgit v1.2.3-54-g00ecf