figured out how to clear history on startup of zsh

This commit is contained in:
tomit4 2022-06-15 14:23:55 -07:00
parent c618bdbbea
commit cf1917298a
3 changed files with 20 additions and 16 deletions

View file

@ -1,9 +1,5 @@
#!/bin/bash
if [ -f "$HOME/.zsh_history " ] ; then
rm "$HOME/.zsh_history"
fi
if [ -d "$HOME/.recycle-bin" ] ; then
doas rm -r "$HOME/.recycle-bin/" && doas reboot
else

View file

@ -1,9 +1,5 @@
#!/bin/bash
if [ -f "$HOME/.zsh_history " ] ; then
rm "$HOME/.zsh_history"
fi
if [ -d "$HOME/.recycle-bin" ] ; then
doas rm -r "$HOME/.recycle-bin/" && doas shutdown -h now
else