add pacman-clean abbr

This commit is contained in:
Mylloon 2022-11-06 15:15:48 +01:00
parent 8e2c779d6d
commit 3827ee2840
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 0 deletions

View file

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

View file

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