add ocml abbr

This commit is contained in:
Mylloon 2022-10-18 19:33:02 +02:00
parent f1c774c0cd
commit fea7eb431c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 0 deletions

View file

@ -107,6 +107,7 @@ then
fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\"" fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\""
fish -c "abbr vocaml 'ocamlopt *.ml && rm *.o *.cmx *.out'" fish -c "abbr vocaml 'ocamlopt *.ml && rm *.o *.cmx *.out'"
fish -c "abbr ocamlbuild 'ocamlbuild -no-hygiene'" 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 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

View file

@ -131,6 +131,7 @@ then
fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\"" fish -c "abbr mirrors_update \"curl -s 'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > /etc/pacman.d/mirrorlist' && sudo pacman -Syy\""
fish -c "abbr vocaml 'ocamlopt *.ml && rm *.o *.cmx *.out'" fish -c "abbr vocaml 'ocamlopt *.ml && rm *.o *.cmx *.out'"
fish -c "abbr ocamlbuild 'ocamlbuild -no-hygiene'" 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'"
# === Micro configuration == # === Micro configuration ==
git config --global core.editor "micro" git config --global core.editor "micro"