Tobias Reisinger
43c34ce130
add: history-grep alias fix: supress arch-updates output when no updates
7 lines
123 B
Bash
Executable file
7 lines
123 B
Bash
Executable file
#!/bin/sh
|
|
|
|
pkg_updates_count=$(pacman -Qu | wc -l)
|
|
if [ $((pkg_updates_count)) -gt 0 ]
|
|
then
|
|
echo $pkg_updates_count
|
|
fi
|