Custom PowerShell profile with a better prompt, colored output, and productivity shortcuts.
Run the setup script as Administrator — it handles everything automatically:
git clone https://github.com/BGBRWR/PowerShell-Settings
cd PowerShell-Settings
.\setup.ps1
The script will:
- Set execution policy to
RemoteSigned
- Install Chocolatey and git
- Install oh-my-posh binary via Chocolatey
- Install required PowerShell modules
- Symlink
Microsoft.PowerShell_profile.ps1 to $PROFILE
- Apply Windows Terminal settings
- Install Hack Nerd Font
| Command |
Description |
cd - |
Go back to previous directory |
dev |
cd C:/dev |
catsclient |
cd C:/dev/cats-frontend |
| Command |
Description |
clean |
Remove all obj/ and bin/ directories recursively |
dt |
Print current datetime as yyyyMMddHHmmss |
| Command |
Description |
vs |
Open .sln file in current directory |
vsc |
Open current directory in VS Code |
dr |
dotnet restore |
drn |
dotnet restore --no-cache |
| Command |
Description |
pull [-b <branch>] |
git pull, optionally from a specific branch |
pull-all |
git pull every repo in subdirectories |
push [-m <msg>] [-ac] [-o] |
Stage, commit, and push. Blocks pushes to master/develop unless -o |
branch <name> |
git checkout -b <name> with prefix shorthands: b/ → bugfix/, f/ → feature/, r/ → release/, h/ → hotfix/ |
stash |
git stash -u |
pop |
git stash pop |
git-reset |
Hard reset to previous commit and pull |
gite |
Open GitExtensions |
| Command |
Description |
aws-login |
aws sso login --profile default |