-
Get Windows Terminal, get PowerShell (not a windows PowerShell) and set it as default:
- Get Windows Terminal free from the store or GitHub releases page
- Get PowerShell free from the store
- Set it as default in terminal -> Settings -> Startup -> Default profile
-
(OPTIONAL) Change Terminal/Console fonts (includes hundreds of special characters that you can use to make your prompt cooler):
- Download Cascaydia Cove Nerd Fonts from here
- Unpack and install them in the standard way (right click on the font -> install)
- Change font in PowerShell profile to CascaydiaCove NF: Terminal -> Settings -> Profiles -> PowerShell -> Appearance -> Font face
- Download Cascaydia Cove Nerd Fonts from here
-
Install and use "Starship" The minimal, blazing-fast, and infinitely customizable prompt for any shell!:
- Install Starship with command
winget install --id Starship.Starship
and restart shell (terminal) to reload PATH - Edit
$PROFILE
and add the following lineInvoke-Expression (&starship init powershell)
and for the changes to take effect, restart the shell. - Change default configuration file location with
STARSHIP_CONFIG
environment variable, just add the following line to the$PROFILE
-$ENV:STARSHIP_CONFIG = "$HOME\example\non\default\path\starship.toml"
- Open configuration file
notepad "$HOME\example\non\default\path\starship.toml"
and insert my configurationstarship.toml
into it.
- Install Starship with command
-
Installing additional features:
- Installing color icons in the directory and files listing!
-
PSReadLine provides an improved command-line editing experience in the PowerShell console:
- Run
Install-Module PSReadLine -AllowPrerelease -Force
and add the following line to $PROFILEImport-Module PSReadLine
- Enable Predictive IntelliSense
Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -PredictionViewStyle ListView Set-PSReadLineOption -EditMode Windows
After saving $PROFILE and restarting the shell, you will have an ANSI-style list with a prediction of what you want to see next and a history of what you have already used.
- Run
-
For easy navigation through the list that we have set above, it is necessary to add the following lines to the $PROFILE
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
Use the up and down arrows to navigate through the sheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Grozoff/Windows-Terminal-Tweaker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Custom tweaks for Windows Terminal
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published