r/PowerShell • u/starstruckzombie • Jan 16 '18
Misc Just because you can
https://imgur.com/6wNC1te31
11
7
u/spyingwind Jan 16 '18
Function prompt
{
Write-Host '$' -NoNewline
Write-Host "$($executionContext.SessionState.Path.CurrentLocation -replace '\\','/' -replace '^[A-Z]{1}:','')$('>' * ($nestedPromptLevel + 1))" -NoNewline
"";
# .Link
# https://go.microsoft.com/fwlink/?LinkID=225750
# .ExternalHelp System.Management.Automation.dll-help.xml
}Is it like bash now?
5
1
u/AEternal Jan 17 '18
Join us... r/matt
2
u/starstruckzombie Jan 17 '18
Never even thought to look for a sub related to my name, thanks that's excellent
2
u/AEternal Jan 17 '18
You don’t find it by looking, brother. When the time is right, r/matt finds you.
3
u/hikebikefight Jan 17 '18 edited Nov 04 '25
special entertain weather handle fearless selective books station spark fanatical
This post was mass deleted and anonymized with Redact
0
0
6
u/axl7777 Jan 16 '18
Can you bash/pwsh again?