Skip to content

Instantly share code, notes, and snippets.

@briansaycocie
Last active December 1, 2017 20:49
Show Gist options
  • Save briansaycocie/bcb3e4b656b6d729143f to your computer and use it in GitHub Desktop.
Save briansaycocie/bcb3e4b656b6d729143f to your computer and use it in GitHub Desktop.
Simple "Start My Day" Shell Script
#!/bin/sh
# Start my day by automating (allthethings)
# Add SSH Keys
echo '--------------------'
echo ' Adding SSH Keys...'
echo '--------------------'
ssh-add ~/.ssh/github_id_rsa
ssh-add ~/.ssh/bitbucket_id_rsa
echo ''
# Start Pilothouse - https://github.com/Pilothouse-App/Pilothouse
echo '------------------------------'
echo ' Starting Pilothouse...'
echo '------------------------------'
pilothouse up
echo ''
# Update Brew
echo '----------------------'
echo ' Updating homebrew...'
echo '----------------------'
brew update
echo ''
# Check for outdated global NPM packages - https://www.npmjs.com/package/npm-check-updates
echo '-------------------------'
echo ' Checking for outdated global NPM packages...'
echo '-------------------------'
ncu -g
echo ''
# Get today's weather forecast - https://github.com/JackWink/Weather
echo '------------------------------------'
echo ' Getting todays weather forecast...'
echo '------------------------------------'
weatherpy -anf location 55124
echo ''
# Finished
echo '---------------------------'
echo ' All done and ready to go!'
echo '---------------------------'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment