]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Hide any GitHub issue that was updated today.
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index 00ba3b96105d20bcb2c38c31f5284ea07caf3395..f70c705774b77adf471cbf91753cb0e9e9669ed6 100644 (file)
@@ -100,23 +100,14 @@ function Get-GitStatus() {
        git status -b --short
 }
 
        git status -b --short
 }
 
-function Get-DashBoard() {
-       Measure-JournalTodos
-       chart
-       # todo
-       # Get-JournalAgenda
-       Write-Host "Todo items for today:"
-       Get-JournalTodayTodos
-       Write-Host "Use command 'todo' to list more tasks."
-       Write-Host "Use command 'agenda' to list the plan for today."
-}
-
 function Get-JournalAgenda() {
        Get-Content $(Get-JournalFile -date $(Get-Date))
 }
 
 function Get-JournalAgenda() {
        Get-Content $(Get-JournalFile -date $(Get-Date))
 }
 
-
+# Nice for git
 New-Alias ol           Get-GitLog
 New-Alias st           Get-GitStatus
 New-Alias ol           Get-GitLog
 New-Alias st           Get-GitStatus
-New-Alias dash  Get-Dashboard
+
+# Dashboard
+New-Alias dash   Get-MyDashboard # See dash.psm1
 New-Alias agenda Get-JournalAgenda
 New-Alias agenda Get-JournalAgenda