add pacman-clean abbr
This commit is contained in:
parent
8e2c779d6d
commit
3827ee2840
2 changed files with 2 additions and 0 deletions
1
arch.sh
1
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 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 opamupdate 'opam update && opam upgrade -y'"
|
||||||
fish -c "abbr yay-rebuild 'checkrebuild | awk \'{print \$2}\' | xargs -r yay -S --rebuildtree --noconfirm'"
|
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
|
# Fish by default in terminal app
|
||||||
profil=$(gsettings get org.gnome.Terminal.ProfilesList list)
|
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
|
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:"${profil:2:-2}"/ use-custom-command true
|
||||||
|
|
|
@ -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 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 opamupdate 'opam update && opam upgrade -y'"
|
||||||
fish -c "abbr yay-rebuild 'checkrebuild | awk \'{print \$2}\' | xargs -r yay -S --rebuildtree --noconfirm'"
|
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 ==
|
# === Micro configuration ==
|
||||||
git config --global core.editor "micro"
|
git config --global core.editor "micro"
|
||||||
|
|
Loading…
Reference in a new issue