diff --git a/arch.sh b/arch.sh index 82c2295..d34e4ac 100644 --- a/arch.sh +++ b/arch.sh @@ -110,6 +110,7 @@ then 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 -c "abbr pacman-clean 'sudo pacman -Rsn \$(pacman -Qqtd)'" # 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 5aae0ed..ae41df7 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -134,6 +134,7 @@ then 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 -c "abbr pacman-clean 'sudo pacman -Rsn \$(pacman -Qqtd)'" # === Micro configuration == git config --global core.editor "micro"