kboom / workspace-setup-windows-powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?



Usage

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.

Enable running scripts which you created locally

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.

You might want to keep the directory always on disk if it is in a cloud location

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.

Modules

Oh My Posh

Customise your shell profile.

About


Languages

Language:PowerShell 53.9%Language:Shell 37.7%Language:Batchfile 8.4%