shellnotes/whatsnew.sh
Dimitris Marakomihelakis 5e1adf0476
Update whatsnew.sh
2021-07-06 18:42:03 +03:00

12 lines
338 B
Bash

#See what's new after opening your terminal
echo -n "shellnotes has been updated.\nWant to see what's new?(Y/N): " && read show
case $show in
y | yes | Y | Yes | YES )
less ~/.shellnotes/whatsnew.txt
clear
sed -i /whatsnew/d ~/.shellnotes/.shellnotes.sh
rm -f ~/.shellnotes/whatsnew.txt
rm -f ~/.shellnotes/whatsnew.sh
esac