Skip to content

Repository files navigation

Prettier PowerShell

Prerequisites

  1. Set the execution policy:
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Installing the Requirements

  1. Install Starship:

    • Visit Starship

    • Install via Winget:

      winget install starship
    • Copy the starship.toml file to (you must create the .config folder first) :

      C:\Users\$your_user$\.config\starship.toml
      

      alt text


      Choose either script based on your preference.
      - The script named `starship.toml` corresponds to the terminal labeled 1 in the picture.
      - The script named `starship(2).toml` corresponds to the terminal labaled 2 in the picture.
      **Note**: If you select `starship(2).toml`, please rename it to `starship.toml`.
  2. Install zoxide (a smarter cd command):

  3. Install Terminal Icons (icons for ls command):

  4. Install PSProfiler (for time measurements):

  5. Install PSReadline (for command autocompletion):

  6. Choose your favorite Nerd Font:

Creating the PowerShell Script to Activate Downloads

  1. Open PowerShell and type:
    $profile
    This command will display the path where the Microsoft.PowerShell_profile.ps1 file should be located.
  2. Copy the Microsoft.PowerShell_profile.ps1 file from my repository to this path.

Applying the changes

  1. Restart the PowerShell

  2. It is also possible to reset the pwsh using

    . $profile

Enjoy!

~ John

About

Make Microsoft powershell prettier

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages