Skip to content

Instantly share code, notes, and snippets.

@HendrikFagel
HendrikFagel / Profile.ps1
Created January 9, 2025 19:45 — forked from neggles/Profile.ps1
my crossplatform PowerShell Profile
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# src: https://gist.github.com/neg2led/71aa954bd93750d3c1dadc9302e52654
# New-Item $(Split-Path "$($PROFILE.CurrentUserCurrentHost)") -ItemType Directory -ea 0; Invoke-WebRequest -Uri "https://git\.io/JOL0Xu" -OutFile "$($PROFILE.CurrentUserCurrentHost)"
Clear-Host # remove advertisements
# bash-like
Set-Alias cat Get-Content -Option AllScope
Set-Alias cd Set-Location -Option AllScope
Set-Alias clear Clear-Host -Option AllScope
Vitamin
Meins udn deins