From 004ddaae9c3933c170835ec040693cc05030ee43 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 6 Nov 2022 15:06:50 +0100 Subject: [PATCH] add rebuild detector --- arch.sh | 1 + arch_wsl.sh | 3 ++- archinstall/user_configuration.json | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch.sh b/arch.sh index d73c739..0feef14 100644 --- a/arch.sh +++ b/arch.sh @@ -109,6 +109,7 @@ then fish -c "abbr ocamlbuild 'ocamlbuild -no-hygiene'" fish -c "abbr ocml 'clear; ocamlopt *.ml && rm *.o *.cmx *.out; ocamlbuild -no-hygiene test.byte; ./test.byte; rm test.byte'" fish -c "abbr opamupdate 'opam update && opam upgrade -y'" + fish -c "abbr yay-rebuild 'checkrebuild | awk \"{print \$2}\" | xargs -r yay -S --rebuildtree --noconfirm'" # Fish by default in terminal app profil=$(gsettings get org.gnome.Terminal.ProfilesList list) gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${profil:2:-2}"/ use-custom-command true diff --git a/arch_wsl.sh b/arch_wsl.sh index 28a5f74..9d4b397 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -14,7 +14,7 @@ then pacman -R --noconfirm fakeroot-tcp # === Install packages == - pacman -S --noconfirm git wget zip openssh bat base-devel make python-pygments micro git-lfs npm sdl2_image nodejs fish autoconf valgrind automake python-virtualenv gdb tk sdl2_mixer exa texlive-most fzf glu man-pages-fr neofetch python-pip opam pacman-contrib cpanminus unison + pacman -S --noconfirm git wget zip openssh bat base-devel make python-pygments micro git-lfs npm sdl2_image nodejs fish autoconf valgrind automake python-virtualenv gdb tk sdl2_mixer exa texlive-most fzf glu man-pages-fr neofetch python-pip opam pacman-contrib cpanminus unison rebuild-detector # === Colors package manager == sed -i "s/#Color/Color/g" /etc/pacman.conf @@ -133,6 +133,7 @@ then fish -c "abbr ocamlbuild 'ocamlbuild -no-hygiene'" fish -c "abbr ocml 'clear; ocamlopt *.ml && rm *.o *.cmx *.out; ocamlbuild -no-hygiene test.byte; ./test.byte; rm test.byte'" fish -c "abbr opamupdate 'opam update && opam upgrade -y'" + fish -c "abbr yay-rebuild 'checkrebuild | awk \"{print \$2}\" | xargs -r yay -S --rebuildtree --noconfirm'" # === Micro configuration == git config --global core.editor "micro" diff --git a/archinstall/user_configuration.json b/archinstall/user_configuration.json index 76dee3f..0d2cf36 100644 --- a/archinstall/user_configuration.json +++ b/archinstall/user_configuration.json @@ -110,7 +110,8 @@ "opam", "pacman-contrib", "cpanminus", - "gnome-text-editor" + "gnome-text-editor", + "rebuild-detector" ], "plugin": null, "profile": {