2021-07-06 17:31:51 +02:00
|
|
|
#See what's new after opening your terminal
|
|
|
|
|
2021-07-07 09:52:10 +02:00
|
|
|
echo -n "Shellnotes is running version 3.5 for the first time.\nWant to see what's new?(Y/N): " && read show
|
2021-07-06 17:31:51 +02:00
|
|
|
|
|
|
|
case $show in
|
|
|
|
y | yes | Y | Yes | YES )
|
|
|
|
less ~/.shellnotes/whatsnew.txt
|
2021-07-06 17:42:03 +02:00
|
|
|
clear
|
2021-07-06 17:31:51 +02:00
|
|
|
sed -i /whatsnew/d ~/.shellnotes/.shellnotes.sh
|
|
|
|
rm -f ~/.shellnotes/whatsnew.txt
|
|
|
|
rm -f ~/.shellnotes/whatsnew.sh
|
|
|
|
esac
|