Update FAQ.md

This commit is contained in:
Markus Fleschutz 2021-03-29 11:33:47 +02:00 committed by GitHub
parent 6fdc479d96
commit 6abed7f4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,8 @@ https://github.com/fleschutz/PowerShell/archive/master.zip
How to Configure PowerShell as Default Shell?
---------------------------------------------
The default shell on Windows is PowerShell, on Linux it's mostly Bash.
* **Linux:** make sure PowerShell is installed, then execute: `chsh -s /bin/powershell <username>`
* **Windows:** no need to, PowerShell is the default shell
@ -47,7 +49,7 @@ How to add the Scripts to the Search Path?
------------------------------------------
Want to use the PowerShell scripts everywhere on the command-line? Then you need to add the Scripts/ subfolder to the search path:
* **Bash or sh:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/Scripts"
* **Linux & Bash:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/Scripts"
* **Windows:** open the environment variables dialogue and add the full path to Scripts/ to the system environment variable "Path"