This repository containts a collections of usefull scripts and configurations for windows.
- WindowsTerminal
- Git
- Powershell v 5.1 or later
Powershells defualt execution policy is set to Restricted
, which means that scripts can't be run, and the config will not work. The execution plolicy can be changed by runing the following command in powershell with admin privileges:
Set-ExecutionPolicy $POLICY -Scope CurrentUser
The $POLICY variable needs to be set to something that allows scripts to run, for example Bypass
. For more information about powershell execution policy see: Powershell Exectuion Policies.
To download the repository make sure you are in the $profile
folder, which is usually found in "~/Documents/WindowsPowerShell/", and run the following command:
git clone https://github.com/vegarkarlsen/powershell-profile.git
The full configuration can be installed by running the install.ps1
script, this sets up symbolic links for all the config files in the right directories, as well as download some usefull powershell modules.
cd powershell
./install.ps1
NB! The install script has to be run with admin privileges to make the symolic links.
If you dont have the permissions to run the install script you can manually copy the config files to the right directories.
I currently uses the patched MesloLGS NF font from powerlevel10k. The font can be downloaded direclty from the powerlevel10k-project on github.