PatEvs'
PowerShell
5.x andpwsh
7.x profile.
# Clone the repository
git clone https://github.com/patevs/powershell-profile.git
cd powershell-profile
# Install the profile:
.\bootstrap.ps1
Note: You must have your execution policy set to unrestricted (or at least in bypass) for this to work. To set this, run
Set-ExecutionPolicy Unrestricted
from a PowerShell running as Administrator.
To install these dotfiles from PowerShell
without Git:
iex ((new-object net.webclient).DownloadString('https://raw.github.com/patevs/powershell-profile/master/setup/install.ps1'))
To update later on, just run that command again.
When setting up a new Windows PC, you may want to set some Windows defaults and features, such as showing hidden files in Windows Explorer and installing IIS. This will also set your machine name and full user name, so you may want to modify this file before executing.
cd pwsh
.\windows.ps1
oh-my-posh
A prompt theme engine for any shell.- PowerShell Prompts
.
├── .husky # Husky configuration
├── pwsh # PowerShell profile
├── setup
│ └── install.ps1 # Git-free install script
├── .commitlintrc # Commitlint configuration
├── .editorconfig # Editor configuration
├── .gitignore # Git ignore rules
├── .np-config.json # NPM publish (np) configuration
├── LICENSE # Project license
├── package.json # NPM package configuration
├── bootstrap.ps1 # Installation script
└── README.md # Project README