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
- Host: GitHub
- URL: https://github.com/is-nao/powershell-profile
- Owner: is-nao
- Created: 2024-08-28T09:51:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-15T16:03:07.000Z (12 months ago)
- Last Synced: 2025-05-12T23:37:23.254Z (10 months ago)
- Topics: powershell, powershell-profile
- Language: PowerShell
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Customized PowerShell Prompt
Supports PowerShell 5.* and 7.*

## 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.