mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 09:58:19 +02:00
Update README.md
This commit is contained in:
parent
ade3a2a5b8
commit
6aed269688
@ -32,8 +32,8 @@ PowerShell is a task automation and configuration management framework from Micr
|
|||||||
|
|
||||||
**How to configure PowerShell as default shell on Linux?**
|
**How to configure PowerShell as default shell on Linux?**
|
||||||
|
|
||||||
Make sure PowerShell is installed, then use the `chsh` as follows:
|
Make sure PowerShell is installed, then use the `chsh` commmand as follows:
|
||||||
* `chsh -s /bin/powershell username`
|
* `chsh -s /bin/powershell <username>`
|
||||||
|
|
||||||
**How to add the subfolder Scripts/ to the search path for command-line usage?**
|
**How to add the subfolder Scripts/ to the search path for command-line usage?**
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ Make sure PowerShell is installed, then use the `chsh` as follows:
|
|||||||
Script Standards
|
Script Standards
|
||||||
----------------
|
----------------
|
||||||
Each script provides:
|
Each script provides:
|
||||||
1. a comment header containing the description, author, source, and license
|
1. a comment header containing the syntax, description, author, source, and license
|
||||||
2. prefers command-line options but may ask the user in case no option is given
|
2. prefers command-line options but may ask the user in case no option is given
|
||||||
3. exits 0 for success, otherwise the error code (mostly 1)
|
3. exits 0 for success, otherwise the error code (mostly 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user