From 73eed6a4f1e1a0747e28d78f455cf2efd8df6d59 Mon Sep 17 00:00:00 2001 From: Cristian Pop Date: Sun, 22 Sep 2019 15:34:01 +0300 Subject: [PATCH] Fix chromium previous sessions removal Removing notes from previous sessions was filing due to path containing spaces (.config/chromium/Last Session) being passed to rm command. find with exec handles that case better --- home/.xsession | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.xsession b/home/.xsession index 73cda67..760fa93 100755 --- a/home/.xsession +++ b/home/.xsession @@ -26,7 +26,7 @@ if [ -f .config/chromium/Default/Preferences ]; then fi # Remove notes of previous sessions, if any -find .config/chromium/ -name "Last *" | xargs rm +find .config/chromium/ -name "Last *" -exec rm {} + # Start and detach Chromium # http://peter.sh/experiments/chromium-command-line-switches/