From f36a74c805cdbacaa671fd4019204ed3889bae55 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 6 Aug 2022 04:31:48 -0400 Subject: stop using platform, start using subprocess also did some more refactoring :trollfig: --- default-config.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'default-config.json') diff --git a/default-config.json b/default-config.json index dd4043c..4616521 100644 --- a/default-config.json +++ b/default-config.json @@ -1,20 +1,20 @@ { "system_update_cmds": { - "arch": "bash -c 'pacman -Sy --needed archlinux-keyring && pacman -Su'", - "debian": "bash -c 'apt update && apt upgrade'", + "arch": "pacman -Sy --needed archlinux-keyring && pacman -Su", + "debian": "apt update && apt upgrade", "fedora": "dnf upgrade" }, "extra_cmds": { "arch": "aur sync --upgrades --rmdeps --sign --remove --verify" }, "clean_cmds": { - "arch": "bash -c 'pacman -Qdtq | pacman -Rns -; exit 0'", + "arch": "pacman -Rns $(pacman -Qdtq); exit 0", "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'" + "fish": "fisher update", + "zsh": "source $HOME/.config/zsh/.antidote/antidote.zsh && antidote update" }, "other_cmds": { "neovim": "nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'" -- cgit v1.2.3