diff --git a/docs/FAQ.md b/docs/FAQ.md index d3dc164a..40e78cd2 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -30,6 +30,9 @@ $ ln -s /snap/bin/pwsh /usr/bin/pwsh ``` 2. **Otherwise, visit:** https://github.com/PowerShell/PowerShell **and scroll down to: *Get PowerShell*.** +3. **Configure PowerShell as your default shell?** +3.1 Check that the file **/etc/shells** contains the **/usr/bin/pwsh** line, otherwise add it.** +3.2 Now execute: **`chsh -s /usr/bin/pwsh USERNAME`** (replace USERNAME by your user name).
How to install PowerShell on MacOS? @@ -107,12 +110,6 @@ **Use a modern one such as *Windows Terminal*, please.**
-
How to configure PowerShell as my default shell on Linux? - -1. Make sure PowerShell is installed, then **execute: `chsh -s /usr/bin/pwsh USERNAME`** (replace USERNAME by your user name). -2. In case you experience an "invalid shell" error, **add the line "/usr/bin/pwsh" to /etc/shells.** -
-
How to set a custom PowerShell profile? **Execute: `./update-powershell-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking basic profile and can easily be adapted to your needs.**