add rebuild detector

This commit is contained in:
Mylloon 2022-11-06 15:06:50 +01:00
parent d294f6dc19
commit 004ddaae9c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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"

View file

@ -110,7 +110,8 @@
"opam",
"pacman-contrib",
"cpanminus",
"gnome-text-editor"
"gnome-text-editor",
"rebuild-detector"
],
"plugin": null,
"profile": {