From 14bd302170a0eebd3092c45824bb42f355502177 Mon Sep 17 00:00:00 2001 From: Ryan Palo Date: Wed, 10 Jan 2018 20:02:48 -0800 Subject: [PATCH 1/2] Documentation - Add to Mac OS install docs Added a line documenting that the command to run PowerShell is `pwsh`, and not `powershell` like might be expected. (I spent like 10 minutes trying to figure out why my fresh install wasn't working before I read further down in the manual install docs to find the correct command.) Also, would it be worth it to add a command to the install process, making an `alias powershell='pwsh'`? Or at least a line in the above docs? That's what I ended up doing in my `.zshrc` for when future me forgets. --- docs/installation/macos.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/installation/macos.md b/docs/installation/macos.md index 507a1536945..94536148d3c 100644 --- a/docs/installation/macos.md +++ b/docs/installation/macos.md @@ -21,6 +21,12 @@ Now, you can install PowerShell: brew cask install powershell ``` +Finally, verify that your install is working properly: + +```sh +pwsh +``` + When new versions of PowerShell are released, simply update Homebrew's formulae and upgrade PowerShell: @@ -31,6 +37,8 @@ brew cask reinstall powershell > Note: because of [this issue in Cask](https://github.com/caskroom/homebrew-cask/issues/29301), you currently have to do a reinstall to upgrade. + + [brew]: http://brew.sh/ [cask]: https://caskroom.github.io/ From ce15238e96d9c3ba6a0ccd90be2450fdd0514e24 Mon Sep 17 00:00:00 2001 From: Ryan Palo Date: Wed, 10 Jan 2018 21:12:46 -0800 Subject: [PATCH 2/2] Remove extra blank lines. Remove 2 blank lines that were rejected by CI that I accidentally added. --- docs/installation/macos.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/installation/macos.md b/docs/installation/macos.md index 94536148d3c..43678a9827f 100644 --- a/docs/installation/macos.md +++ b/docs/installation/macos.md @@ -37,8 +37,6 @@ brew cask reinstall powershell > Note: because of [this issue in Cask](https://github.com/caskroom/homebrew-cask/issues/29301), you currently have to do a reinstall to upgrade. - - [brew]: http://brew.sh/ [cask]: https://caskroom.github.io/