commit b4b9e41035c3898f3123c15d35cc8485c54aa1fd
parent 002130770608e6acc66e2c78a9d903ab4341cbca
Author: Ashymad <czilukim@o2.pl>
Date: Sun, 4 Mar 2018 12:44:00 +0100
echo instead of verbose rm
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.config/fish/functions/aur-cleanup.fish b/.config/fish/functions/aur-cleanup.fish
@@ -24,7 +24,8 @@ function aur-cleanup
for dir in *
set pkgname (bash -c "source $dir/PKGBUILD;"'echo $pkgname')
if not pacman -Qi $pkgname >/dev/null 2>/dev/null
- rm -rvf -- $dir
+ echo "Removing $dir..."
+ rm -rf -- $dir
end
end
end