add opamupdate abbr

This commit is contained in:
Mylloon 2022-11-04 20:21:49 +01:00
parent 55fe3a4ae3
commit e9ca1cb96d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 0 deletions

View file

@ -108,6 +108,7 @@ then
fish -c "abbr vocaml 'ocamlopt *.ml && rm *.o *.cmx *.out'"
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 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

@ -132,6 +132,7 @@ then
fish -c "abbr vocaml 'ocamlopt *.ml && rm *.o *.cmx *.out'"
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'"
# === Micro configuration ==
git config --global core.editor "micro"