figured out how to clear history on startup of zsh
This commit is contained in:
parent
c618bdbbea
commit
cf1917298a
3 changed files with 20 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue