This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f /var/run/rebooting-for-updates ]; then | |
# start from where we left off on reboot | |
sed -i '/bash/d' ~/.zshrc | |
sudo rm -f /var/run/rebooting-for-updates | |
echo "continuing after shell reload.." | |
else | |
echo "running script for the first time" |