✨ Updated scripts
This commit is contained in:
parent
eef4fdf99c
commit
d0aead5a9c
14 changed files with 386 additions and 99 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
last_line_first_word=$(awk '{w=$1} END{print w}' $HOME/.zshrc)
|
||||
|
||||
if [[ $last_line_first_word == "export" ]] ; then
|
||||
sed -i '$ d' $HOME/.zshrc
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.recycle-bin" ] ; then
|
||||
doas rm -r "$HOME/.recycle-bin/" && doas reboot
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue