This was made exclusively for PowerShell 7, not Windows PowerShell.
Note
This profile is intended for use on Windows. Although it also works correctly on Linux and macOS, it is not optimized for them at the moment.
- Bash-like keyboard shortcuts
- Improved syntax highlighting colors
- Nice, simple and fast prompt. Uses Starship
- Windows Terminal integration for tab and pane duplication
- Enables some useful experimental powershell features
- Includes a few useful aliases
- And some other smaller goodies!
Note
You need to use version 7.4 or later to take advantage of experimental features.
- PSCommandNotFoundSuggestion: Recommend potential commands based on fuzzy search on a CommandNotFoundException
- PSFeedbackProvider: Replace the hard-coded suggestion framework with the extensible feedback provider
starship
is used as prompt when it's installed. Refer to its installation
guide
Just clone this repository as your PowerShell 7 profile like this if you are in Windows:
git clone https://github.com/Warbacon/powershell-profile.git "$HOME\Documents\PowerShell"
Or use this if you are on Linux or macOS:
git clone https://github.com/Warbacon/powershell-profile.git "$HOME/.config/powershell"