An open API service indexing awesome lists of open source software.

https://github.com/is-nao/powershell-profile

my simple and linux-like powershell profile
https://github.com/is-nao/powershell-profile

powershell powershell-profile

Last synced: 7 months ago
JSON representation

my simple and linux-like powershell profile

Awesome Lists containing this project

README

          

# Customized PowerShell Prompt
Supports PowerShell 5.* and 7.*
![image](https://github.com/user-attachments/assets/c5bf1016-3763-4b34-bd3b-3599bd1f70c5)
## Like Linux
1. Replaces the path separator "\\" with "/".
2. When current directory is the home directory, displays "~".
3. When executed by the super user, displays "#", otherwise displays "$".
4. Assigns tab completion to complete (works similarly to bash's complete).
5. Loads .ps1 scripts under the [Autoload](/AutoLoad) directory.
Autoload includes the following scripts:
- [ModuleManager](/AutoLoad/ModuleManager.ps1): Update modules automatically. Add/edit module names in `$modules`, load local modules, etc.
- [SSHConfigCompletion](/AutoLoad/SSHConfigCompletion.ps1): Set the connection information of `~\.ssh\config` to ssh command completion.