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
This commit is contained in:
parent
818a81335f
commit
73eed6a4f1
@ -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/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user