mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2026-05-21 11:35:24 +00:00
add clear on exit
This commit is contained in:
@@ -21,6 +21,8 @@
|
|||||||
tree
|
tree
|
||||||
wget
|
wget
|
||||||
rsync
|
rsync
|
||||||
|
moreutils
|
||||||
|
jq
|
||||||
yq-go
|
yq-go
|
||||||
kubectl
|
kubectl
|
||||||
croc
|
croc
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Set Chromium on exit
|
||||||
|
FILE="$HOME/Library/Application Support/Chromium/Local State"
|
||||||
|
jq '.browser.enabled_labs_experiments //= [] | .browser.enabled_labs_experiments |= map(select(startswith("clear-data-on-exit") | not)) + ["clear-data-on-exit@1"]' "$FILE" | sponge "$FILE"
|
||||||
Reference in New Issue
Block a user