Skip to content

tapatiohaxx/ps-user-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ps-user-scripts

This repository stores the startup scripts for my Windows PowerShell.

The main Microsoft_PowerShell_profile.ps1 calls to the user_profile.ps1 file to take all the commands from there and use them. I made this work with the latest version of PowerShell on Windows 10 or 11. You can add any aliases you need to it the profiles as well to make them as useful to you as possible. Hopefully you enjoy the themes that I have listed.

How to Use

  1. Set your ExscutionPolicy to RemoteSigned so you can automatically run the startup script upon starting PowerShell.
  2. Install oh-my-posh
  3. Install a Nerd Font of your choice
  4. open the user profile that you have stored in C:\Users\[Your_User_name]\Documents\PowerShell\Microsoft.PowerShell_profile.ps1 and replace it with the contents of profile.ps1 . If it doesn't exist, create one.
  5. Create a folder at C:\Users\[Your_User_Name] called .config and nest a folder inside it called powershell and drop the user_profile.ps1 file in there.
  6. Use the --config flag and follow that with the path to the theme of your choice. You will have to clone the repo I linked to use any theme you want.

[03 July 2022] I liked the color scheme of the festivetech theme so I added code to make the theme function correctly and display the correct number of days until Christmas.

About

The scripts that I use to personalize PowerShell on Windows Terminal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors