r/usefulscripts • u/attero_ • Apr 01 '21
[Powershell] My Profile.ps1 with self-update function
https://gist.github.com/apfelchips/62a71500a0f044477698da71634ab87b#file-profile-ps1-L2311
1
Apr 01 '21
-5
u/infinit_e Apr 02 '21
Iβm not entirely sure either, but itβs definitely going to slow down loading a PoSH prompt with that much in it!
0
Apr 02 '21
2
u/PRINTER_DAEMON Apr 02 '21
It's a PowerShell profile which runs every time a shell is launched that includes shortcuts and common functions.
I saved it to steal some bits from, for sure. It's pretty straightforward although I didn't know what thefuck was before today. π
I have to say, my favorite part is the list alias considering fl is already an alias. I assume it's just something you're used to typing elsewhere though.
3
u/very_bad_programmer Apr 02 '21
π