I’m trying to display the git branch name in the Powershell prompt without any prompt lag everytime I hit enter. I’m looking for a way to run $gitBranch = $(git symbolic-ref HEAD)
asynchronously. I know of Start-Job
but it takes about 2 seconds just to schedule the process
submitted by /u/Saltones
[link] [comments]
The post How do I run an outside process with zero lag? appeared first on How to Code .NET.