Skip to content

Instantly share code, notes, and snippets.

@justin-vanwinkle
Last active October 23, 2018 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justin-vanwinkle/f1ef881c670023169f7f54d744dbb1cb to your computer and use it in GitHub Desktop.
Save justin-vanwinkle/f1ef881c670023169f7f54d744dbb1cb to your computer and use it in GitHub Desktop.
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
Import-Module -Name posh-git
Import-Module Get-ChildItemColor
Start-SshAgent
function func-glog {
git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
}
Set-Alias l Get-ChildItemColor -option AllScope -Force
Set-Alias ls Get-ChildItemColorFormatWide -option AllScope -Force
Set-Alias glog func-glog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment