Create debfunctions.zsh

This commit is contained in:
Tobias Schmidl 2018-08-27 10:34:22 +02:00 committed by GitHub
parent f83eaf518d
commit 8b182624a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

1
debfunctions.zsh Normal file
View file

@ -0,0 +1 @@
function debchangedconfigs () { dpkg-query -W -f='${Conffiles}\n' '*' | awk 'OFS=" "{print $2,$1}' | LANG=C md5sum -c 2>/dev/null | awk -F': ' '$2 !~ /OK$/{print $1}' | sort }