Workspace Setup Windows: PowerShell
This is the part of the Workspace Setup Windows repository. It contains all files that you would normally put in your PowerShell home directory. It configures your profile including the theme among many other things. Isn’t it awesome?
Before cloning this repository:app-name:
-
Update the location of your git hooks for this repository by issuing
git config core.hooksPath hooks
. You don’t need to, but then you would need to remember to launch the init script each time you update this repository. -
Make sure to follow this to install Windows Terminal which is a great GUI for your PowerShell shell. You should also go through this guide if you want great glyphs.
You might need to run your terminal as administrator and issue set-executionpolicy remotesigned
which will allow running ps1 scripts created locally but require the ones that you download to be signed. If you downloaded a script from the internet and you are sure it is secure then you can just right click on it and select "unblock". Make sure it is not read-only as otherwise it will fail with awkward error.
By default, many systems will look for your configuration in your cloud OneDrive folder to provide consistent experience whereever you are. However, this can add latency and may break with no network, so it’s best to keep local copies at all times.
- Oh My Posh
-
Customise your shell profile.