Last active
November 6, 2018 17:10
-
-
Save connerk/e1633c6051a6fb4a5af832a04a4c561c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$sysfunctions = gci function: | |
function myfunctions {gci function: | where {$sysfunctions -notcontains $_} } | |
Set-Alias -name d -Value dotnet -Description "Easier to type DotNet" | |
$gitgetter = Invoke-WebRequest("https://gist.githubusercontent.com/connerk/dc13bddf110b36cad1a1d5d91c6c6f41/raw/6e2ad502eb967b06f493e8c8fdd5639675ec8051/Git-Getter.ps1") | |
Invoke-Expression $gitgetter.content | |
#launch GitKraken in current folder | |
function krak() { | |
$curpath = (get-location).ProviderPath | |
$lapd = $env:localappdata | |
$logf = "$env:temp\krakstart.log" | |
start-process -filepath "$lapd\gitkraken\app-4.0.5\gitkraken.exe" -ArgumentList "-p $curpath" -redirectstandardoutput $logf | |
} | |
echo "Remote PowerShell profile loaded" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use,
Set-ExecutionPolicy Unrestricted