Henrize/pwsh-prompt
A clean and minimalistic PowerShell prompt I use myself.
To use Mini-Prompt, follow these simple steps:
Clone or download the repository, or simply copy the Mini-Prompt.ps1
file (for Windows) or Mini-Prompt.unix.ps1
file (for Unix-based systems) to a location of your choice.
If you want to customize the prompt, open the Mini-Prompt.ps1
or Mini-Prompt.unix.ps1
file in a text editor and modify the badge and prompt at lines 14-16.
Add the following line to your PowerShell profile file ($PROFILE
):
. "C:\full\path\to\Mini-Prompt.ps1"
Replace C:\full\path\to\Mini-Prompt.ps1
with the actual path to the Mini-Prompt.ps1
or Mini-Prompt.unix.ps1
file.
That's it!
Restart your PowerShell session or run & $PROFILE
to apply the changes. Your new prompt should now be active.
Henrize/pwsh-prompt is licensed under the MIT License.