Created
November 3, 2018 15:39
-
-
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)
This file contains hidden or 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
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