diff --git a/veille.sh b/veille.sh index 0e243db..c45ea7c 100755 --- a/veille.sh +++ b/veille.sh @@ -25,17 +25,17 @@ rm --recursive --force -- /tmp/ssh-* # GPG Agent keychain --agents gpg --clear -kill $(pidof gpg-agent) +pkill --uid="$(id -u)" -- "gpg-agent" # Delete everything link to ssh-agent or gpg-agent rm --recursive --force -- ~/.keychain/* # git-credential sockets -killall git-credential-cache--daemon +pkill --uid="$(id -u)" --full -- "git-credential-cache" rm --force -- ~/.git-credential-cache/* # Keepass2 (killall keepass, both those launch with 'mono' and those launch with 'cli) -pkill --full -- "keepass" +pkill --uid="$(id -u)" --full -- "keepass" # Delete sensitive files can contains unwanted clear passwords rm --force -- ~/.config/evince/print-settings ~/.config/eog/eog-print-settings.ini @@ -47,7 +47,7 @@ find ~/.config -ipath "*GIMP*" -and -iname "print-settings" -delete # Purge local user recent files rm --force -- ~/.local/share/recently-used.xbel rm --force -- ~/.recently-used -rm --force -- ~/.thumbnails/normal +rm --force --recursive -- ~/.thumbnails/normal rm --force -- ~/.config/vlc/vlc-qt-interface.conf rm --force -- ~/.config/smplayer/smplayer.ini