better abbrs

This commit is contained in:
Mylloon 2023-10-23 18:24:44 +02:00
parent 709beaf689
commit 594d5b2242
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,9 +1,9 @@
#!/usr/bin/fish
abbr ..2 "cd ../.."
abbr ..3 "cd ../../.."
abbr ..4 "cd ../../../.."
abbr ..5 "cd ../../../../.."
abbr ... "cd ../.."
abbr .... "cd ../../.."
abbr ..... "cd ../../../.."
abbr ...... "cd ../../../../.."
abbr - "cd -"
abbr bigupdate "paru -Syu --noconfirm && tldr --update && yes | sdk update && yes | sdk upgrade java"
abbr cat "bat -pp"
@ -22,9 +22,9 @@ abbr ocamlbuild "ocamlbuild -no-hygiene"
abbr opamupdate "opam update && opam upgrade -y"
abbr rm "rm -rf"
abbr tgz "tar czf 'Archive.tar.gz'"
abbr vgcc "clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -g main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./*.out"
abbr vg++ "clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./*.out"
abbr vmake "make clean && clear; make dev && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main"
abbr vgcc "clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -g *.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./*.out"
abbr vg++ "clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion *.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./*.out"
abbr vmake "make clean && clear; make dev && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./*.out"
abbr zip "zip -r 'archive.zip' dossier"
abbr mfind "find /* 2> /dev/null | grep -i ''" # Search for any filename in all disks
abbr sfind "find * -type f -name '*.sync-conflict*' -ok rm {} \;"