Skip to content

Instantly share code, notes, and snippets.

@kaushikgopal
Created November 3, 2018 15:39
Show Gist options
  • Save kaushikgopal/4a89a34511e5693bd1f4c60ab450fe72 to your computer and use it in GitHub Desktop.
Save kaushikgopal/4a89a34511e5693bd1f4c60ab450fe72 to your computer and use it in GitHub Desktop.
My morning ritual command. I use fishshell (previously https://gist.github.com/kaushikgopal/0a0397669fd00f96249b)
function morning
# homebrew
brew update
brew upgrade
brew outdated
brew cleanup
# sdkman
echo "Y" | sdk update
# npm
npm update npm -g
npm update -g
# gems
gem update
# android sdk
# echo "y" | android update sdk --no-ui
echo "y" | sdkmanager --update
# mac os updates
softwareupdate -i -a
# gradle d
find ~/.gradle -type f -atime +30 -delete; and find ~/.gradle -type d -mindepth 1 -empty -delete
brew doctor
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment