From 9e76adf1b44eff6232873b6e80cad1f368dabdaa Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 10 Nov 2023 12:10:09 +0100 Subject: [PATCH] finaly use trash-cli --- .config/fish/conf.d/abbr.fish | 1 - .config/fish/conf.d/abbr_arch.fish | 1 + .config/fish/conf.d/abbr_wsl.fish | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index 7252749..0bc2c04 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish @@ -20,7 +20,6 @@ abbr mmake "make clean && clear; make && ./*.out" abbr nano micro 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 *.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" diff --git a/.config/fish/conf.d/abbr_arch.fish b/.config/fish/conf.d/abbr_arch.fish index ec0e130..2f5e5da 100644 --- a/.config/fish/conf.d/abbr_arch.fish +++ b/.config/fish/conf.d/abbr_arch.fish @@ -4,3 +4,4 @@ abbr vs "codium ." # abbr vencord-installer 'yes | sh -c "$(curl -sS https://raw.githubusercontent.com/Vendicated/VencordInstaller/main/install.sh)"' abbr xclip "xclip -selection clipboard" abbr spotx "bash -c 'bash <(curl -sSL https://raw.githubusercontent.com/SpotX-CLI/SpotX-Linux/main/install.sh) -ceP $HOME/.local/share/spotify-launcher/install/usr/share/spotify/'" +abbr rm "trash -f" diff --git a/.config/fish/conf.d/abbr_wsl.fish b/.config/fish/conf.d/abbr_wsl.fish index ba0265d..741cff9 100644 --- a/.config/fish/conf.d/abbr_wsl.fish +++ b/.config/fish/conf.d/abbr_wsl.fish @@ -2,3 +2,4 @@ abbr d "explorer.exe ." abbr unison "unison ~/src ~/u_dest" abbr vs "code ." abbr wgcc x86_64-w64-mingw32-gcc +abbr rm "rm -rf"