mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 22:28:37 +01:00
Update FAQ.md
This commit is contained in:
parent
6fdc479d96
commit
6abed7f4a3
@ -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"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user