use doublequotes instead of simple quote

This commit is contained in:
Mylloon 2023-03-13 00:31:19 +01:00
parent 23dc0a157c
commit a42c05ee4f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,47 +1,49 @@
abbr ls 'exa --git --icons -gl' #!/usr/bin/fish
abbr cp 'cp -rv'
abbr rm 'rm -rf' abbr ls "exa --git --icons -gl"
abbr mgcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes \ abbr cp "cp -rv"
-fanalyzer -fsanitize=undefined -g main.c && ./a.out; rm a.out 2> /dev/null' abbr rm "rm -rf"
abbr vgcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes \ abbr mgcc "clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes \
-fanalyzer -fsanitize=undefined -g main.c && ./a.out; rm a.out 2> /dev/null"
abbr vgcc "clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes \
-fanalyzer -fsanitize=undefined -g main.c && valgrind --leak-check=full \ -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' --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null"
abbr mg++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g \ abbr mg++ "clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g \
-Wold-style-cast -Wsign-conversion main.cpp && ./a.out; rm a.out 2> /dev/null' -Wold-style-cast -Wsign-conversion main.cpp && ./a.out; rm a.out 2> /dev/null"
abbr vg++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g \ abbr vg++ "clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g \
-Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full \ -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' --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null"
abbr mmake 'clear; make && ./main; make clean 2> /dev/null' abbr mmake "clear; make && ./main; make clean 2> /dev/null"
abbr vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all \ abbr vmake "clear; make && valgrind --leak-check=full --show-leak-kinds=all \
--track-origins=yes -s ./main; make clean 2> /dev/null' --track-origins=yes -s ./main; make clean 2> /dev/null"
abbr activate 'source bin/activate.fish' abbr activate "source bin/activate.fish"
abbr c 'command' abbr c "command"
abbr vs 'code .' abbr vs "code ."
abbr untgz 'tar xvzf' abbr untgz "tar xvzf"
abbr tgz 'tar czf \"Archive.tar.gz\"' abbr tgz "tar czf \"Archive.tar.gz\""
abbr - 'cd -' abbr - "cd -"
abbr cd.. 'cd ..' abbr cd.. "cd .."
abbr ..2 'cd ../..' abbr ..2 "cd ../.."
abbr ..3 'cd ../../..' abbr ..3 "cd ../../.."
abbr ..4 'cd ../../../..' abbr ..4 "cd ../../../.."
abbr ..5 'cd ../../../../..' abbr ..5 "cd ../../../../.."
abbr cat 'bat' abbr cat "bat"
abbr nano 'micro' abbr nano "micro"
abbr bigupdate 'yay -Syu --noconfirm && tldr --update && yes | sdk update && \ abbr bigupdate "yay -Syu --noconfirm && tldr --update && yes | sdk update && \
yes | sdk upgrade java' yes | sdk upgrade java"
abbr d 'explorer.exe .' abbr d "explorer.exe ."
abbr gc 'git clone' abbr gc "git clone"
abbr cl 'cat src/**.* | sed \'/^\s*$/d\' | wc -l' abbr cl "cat src/**.* | sed '/^\s*\$/d' | wc -l"
abbr mirrors_update "curl -s \ abbr mirrors_update "curl -s \
'https://archlinux.org/mirrorlist/?country=FR&country=GB&protocol=https&use_mirror_status=on' \ '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 - > \ | sed -e 's/^#Server/Server/' -e '/^#/d' | sudo bash -c 'rankmirrors -n 7 - > \
/etc/pacman.d/mirrorlist' && sudo pacman -Syy" /etc/pacman.d/mirrorlist' && sudo pacman -Syy"
abbr ocamlbuild 'ocamlbuild -no-hygiene' abbr ocamlbuild "ocamlbuild -no-hygiene"
abbr opamupdate 'opam update && opam upgrade -y' abbr opamupdate "opam update && opam upgrade -y"
abbr yay-rebuild 'checkrebuild | awk \'{print \$2}\' | xargs -r yay -S \ abbr yay-rebuild "checkrebuild | awk '{print $2}' | xargs -r yay -S \
--rebuildtree --noconfirm' --rebuildtree --noconfirm"
abbr pacman-clean 'sudo pacman -Rsn \$(pacman -Qqtd) --noconfirm' abbr pacman-clean "sudo pacman -Rsn $(pacman -Qqtd) --noconfirm"
abbr diff 'delta' abbr diff "delta"
abbr grep 'grep -Irni \'txt\' .' abbr grep "grep -Irni 'txt' ."
abbr unison 'unison ~/src ~/u_dest' abbr unison "unison ~/src ~/u_dest"
abbr zip 'zip -r \"archive.zip\" dossier' abbr zip "zip -r 'archive.zip' dossier"