shellnotes/whatsnew.sh
Dimitris Marakomihelakis 839bc273c8 3.5 -> 4.0
2023-08-21 21:50:15 +03:00

14 lines
383 B
Bash

#See what's new after opening your terminal
version="4.0"
echo -n "Shellnotes is running version $version for the first time.\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