mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 15:33:15 +01:00
Update FAQ.md
This commit is contained in:
parent
cd38485a52
commit
8099749ae1
@ -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).
|
||||
</details>
|
||||
|
||||
<details><summary>How to install PowerShell on MacOS?</summary>
|
||||
@ -107,12 +110,6 @@
|
||||
**Use a modern one such as *Windows Terminal*, please.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to configure PowerShell as my default shell on Linux?</summary>
|
||||
|
||||
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.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to set a custom PowerShell profile?</summary>
|
||||
|
||||
**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.**
|
||||
|
Loading…
Reference in New Issue
Block a user