2023-03-13 16:12:42 +01:00
|
|
|
#!/usr/bin/fish
|
|
|
|
|
|
|
|
abbr ..2 "cd ../.."
|
|
|
|
abbr ..3 "cd ../../.."
|
|
|
|
abbr ..4 "cd ../../../.."
|
|
|
|
abbr ..5 "cd ../../../../.."
|
2023-05-23 01:04:11 +02:00
|
|
|
abbr - "cd -"
|
2023-05-23 00:30:40 +02:00
|
|
|
abbr bigupdate "paru -Syu --noconfirm && tldr --update && yes | sdk update && yes | sdk upgrade java"
|
2023-03-19 16:11:12 +01:00
|
|
|
abbr cat "bat -pp"
|
2023-10-09 17:12:05 +02:00
|
|
|
abbr c command
|
2023-03-13 16:12:42 +01:00
|
|
|
abbr cd.. "cd .."
|
|
|
|
abbr cl "cat src/**.* | sed '/^\s*\$/d' | wc -l"
|
|
|
|
abbr cp "cp -rv"
|
2023-10-09 17:12:05 +02:00
|
|
|
abbr diff delta
|
2023-03-13 16:12:42 +01:00
|
|
|
abbr grep "grep -Irni 'txt' ."
|
2023-09-07 17:24:42 +02:00
|
|
|
abbr ls "eza --git --icons -gl"
|
2023-04-30 17:01:37 +02:00
|
|
|
abbr mgcc "clear; gcc -Wall -Wextra -Wconversion -Wdouble-promotion -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -fsanitize-undefined-trap-on-error -g3 main.c && ./a.out; rm a.out 2> /dev/null"
|
2023-04-30 16:42:01 +02:00
|
|
|
abbr mg++ "clear; g++ -Wall -Wextra -Wdouble-promotion -Wshadow -Wnon-virtual-dtor -pedantic -g3 -Wold-style-cast -Wsign-conversion main.cpp && ./a.out; rm a.out 2> /dev/null"
|
2023-03-13 16:12:42 +01:00
|
|
|
abbr mmake "clear; make && ./main; make clean 2> /dev/null"
|
2023-10-09 17:12:05 +02:00
|
|
|
abbr nano micro
|
2023-03-13 16:12:42 +01:00
|
|
|
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 ./a.out; rm a.out 2> /dev/null"
|
|
|
|
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 ./a.out; rm a.out 2> /dev/null"
|
|
|
|
abbr vmake "clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null"
|
|
|
|
abbr zip "zip -r 'archive.zip' dossier"
|
2023-09-18 17:45:08 +02:00
|
|
|
abbr mfind "find /* 2> /dev/null | grep ''"
|