From d7aa2e6ccad3f7a3b684e6318a5b7e01bb0f8dcc Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Thu, 25 Nov 2021 05:55:08 -0800 Subject: [PATCH] updated reboot and shutdown to clear sessions --- bashrc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc.txt b/bashrc.txt index 8eee007f..728fe970 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -211,8 +211,8 @@ alias ytdl="youtube-dl" alias thinkorswim="~/thinkorswim/thinkorswim &" alias {vs,vsc,code}="codium" alias {cl,cls}="clear" -alias shutdown="doas shutdown -h now" -alias reboot="doas reboot" +alias shutdown="doas rm -r ~/.cache/sessions & shutdown now" +alias reboot="doas rm -r ~/.cache/sessions & reboot" alias log="doas rm -r ~/.cache/sessions & xfce4-session-logout --logout" alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null -s" alias ipaddr="curl ifconfig.me"