From 9f8a797af180ba35848de25d26dfe9d30516c1c6 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Tue, 21 Dec 2021 04:48:02 -0800 Subject: [PATCH] updated aliases with newrm --- bashrc.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bashrc.txt b/bashrc.txt index 23ceb5ef..f0f8730c 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -235,15 +235,15 @@ alias {mu,mt,mute}="pamixer -t" alias ytdl="youtube-dl" alias thinkorswim="~/thinkorswim/thinkorswim &" alias {cl,cls}="clear" -alias shutdown="doas shutdown -h now" -alias reboot="doas reboot" +alias shutdown="doas newrm -r $HOME/.recycle-bin ; doas shutdown -h now" +alias reboot="doas newrm -r $HOME/.recycle-bin' ; doas reboot" alias log="xfce4-session-logout --logout:wq" alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null -s" alias weather="curl -s 'http://wttr.in' && inxi -w" alias ipaddr="curl ifconfig.me" alias killport="fuser -k" alias rmorphans="sudo pacman -Rs $(pacman -Qdtq)" -alias rm="rm -vi" +alias rm="newrm -vi" alias {doasedit,sudoedit}="doas rnano" alias shred="shred -uz" # shreds the file and overwrites it with 1s and 0s alias indelible="doas chattr +i" # makes a file impossible to delete (except with sudo)