summaryrefslogtreecommitdiff
path: root/default-config.json
diff options
context:
space:
mode:
authorseth <[email protected]>2022-08-05 22:43:02 -0400
committerseth <[email protected]>2022-08-05 22:43:02 -0400
commitf7184207dd3527a74ddbfc8bb8dc9c95dc568857 (patch)
treeb0bda9739d8ef3932e17c2b045d1f311adbd8c86 /default-config.json
parente99bb30bd558bbda0220f6386406903718babeb6 (diff)
add --cleanonly
--cleanonly and -c will now only remove unneeded dependencies through the system's package manager
Diffstat (limited to 'default-config.json')
-rw-r--r--default-config.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/default-config.json b/default-config.json
index 0f0e609..82747ea 100644
--- a/default-config.json
+++ b/default-config.json
@@ -7,6 +7,11 @@
"extra_cmds": {
"arch": "aur sync --upgrades --rmdeps --sign --remove --verify"
},
+ "clean_cmds": {
+ "arch": "bash -c 'pacman -Qdtq | pacman -Rns -'",
+ "debian": "apt-get --purge autoremove",
+ "fedora": "dnf autoremove"
+ },
"shell_plugin_cmds": {
"fish": "fish -c 'fisher update'",
"zsh": "zsh -c 'source $HOME/.config/zsh/.antidote/antidote.zsh && antidote update'"