In every morning of every working day I always need to check slack and work/persoanl emails while having my coffee, so instead each time open it manually, this is a tiny script do that work on Mac OS.
1- move the morning.sh into your home directory
mv morning.sh $HOME
2- give the permission for the file
chmod 755 path/to/morning.sh
3- Update the .bash_profile
or .zshrc
where you add an alias to run the script by appending to the file
echo "
alias morning="./morning.sh"
alias mor="./morning.sh"
" >> .zshrc
3- to run the script, just type in your Terminal mor
or morning
- Check if the time is working time or not to open.