add pwsh alias to quickly launch powershell with cmder profile

This commit is contained in:
David Refoua 2022-10-16 00:57:47 +03:30 committed by GitHub
parent 9d76f99dcf
commit 70632a2bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,3 +12,4 @@ clear=cls
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
pwsh=%SystemRoot%/System32/WindowsPowerShell/v1.0/powershell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%CMDER_ROOT%/vendor/profile.ps1'''"