]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
ol and st aliases for git
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index 4066948f31cd75aacade785e8dd2ec87693d721c..d62bca4f60305027b3293a7ab015d8c0b1557b29 100644 (file)
@@ -81,3 +81,14 @@ Write-Host "+ Type 'pg' to enable PoshGit"
 if((Get-Location).Path -eq $HOME){
        cd $env:src
 }
 if((Get-Location).Path -eq $HOME){
        cd $env:src
 }
+
+function Get-GitLog() {
+       git log --oneline
+}
+
+function Get-GitStatus() {
+       git status -b --short
+}
+
+New-Alias ol           Get-GitLog
+New-Alias st           Get-GitStatus
\ No newline at end of file