From b180460aca88a8d44bfa1f6f48d3e8e3fb0aa587 Mon Sep 17 00:00:00 2001 From: Isaac Halvorson Date: Mon, 12 Feb 2018 06:14:52 -0600 Subject: [PATCH] Add update-all-the-things post --- .../2018-02-02-my-guide-to-the-twin-cities.md | 1 + .../2018/2018-02-12-update-all-the-things.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 source/_posts/2018/2018-02-12-update-all-the-things.md diff --git a/source/_posts/2018/2018-02-02-my-guide-to-the-twin-cities.md b/source/_posts/2018/2018-02-02-my-guide-to-the-twin-cities.md index 90a811f..09ee0e1 100644 --- a/source/_posts/2018/2018-02-02-my-guide-to-the-twin-cities.md +++ b/source/_posts/2018/2018-02-02-my-guide-to-the-twin-cities.md @@ -2,6 +2,7 @@ title: "My Guide to the Twin Cities" layout: post date: 2018-02-02 +tags: personal, minnesota, minneapolis, twin-cities, saint-paul source: ./living-documents/my-guide-to-the-twin-cities.html --- diff --git a/source/_posts/2018/2018-02-12-update-all-the-things.md b/source/_posts/2018/2018-02-12-update-all-the-things.md new file mode 100644 index 0000000..d2bdb63 --- /dev/null +++ b/source/_posts/2018/2018-02-12-update-all-the-things.md @@ -0,0 +1,19 @@ +--- +title: "Update All the Things" +date: 2018-02-12 +layout: post +tags: tech, bash, mac +--- + +The other day, I was wishing for an easy way to update all of the [CLI](https://en.wikipedia.org/wiki/Command-line_interface) package managers on my computer at once, rather than having to type each command separately. Then I realized, this would be a great job for a bash/zsh alias! + +Hereโ€™s what Iโ€™ve come up with. I call it `update-all-the-things`: + +```bash +alias update-all-the-things=' + echo "๐Ÿบ Updating Homebrew" ; brew upgrade ; + echo "๐Ÿš€ Updating Global Node Modules" ; npm update -g ; + echo "๐Ÿ’Ž Updating RubyGems" ; gem update' +``` + +I think it would be fun to make this into an actual package itself someday. A super simple little [Homebrew](https://brew.sh) or [NPM](https://www.npmjs.com) package would be fun to make. Have any ideas on how to implement it as its own package? Any package managers I'm missing? Let me know! \ No newline at end of file