]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Sprint dashboard -list and -chart flags
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index 00ba3b96105d20bcb2c38c31f5284ea07caf3395..6d88b6a0e002ca8644ed1508acffd9c91362e6cb 100644 (file)
@@ -40,6 +40,9 @@ $env:minion = "$env:src\minion"
 $modPaths = Get-Childitem -Path "$env:src\dotfiles\psmodules"
 $modPaths += Get-Childitem -Path "$env:minion\psmodule"
 
+# https://github.com/uillinois-community/powershell-scripts
+$modPaths += Get-Childitem -Path "$env:src\powershell-scripts\modules"
+
 # Windows Only Modules
 if($IsWindows){
        $modPaths += Get-Childitem -Path "$env:src\dotfiles\win_psmodules"
@@ -100,23 +103,16 @@ function Get-GitStatus() {
        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))
-}
-
+# Tell my scripts which GitHub repositories to look in.
+$env:GITHUB_USERNAME = 'edthedev'
+$env:GITHUB_ORG = 'techservicesillinois'
+$env:GITHUB_REPOS = @('SecOps-Tools', 'secdev-job-aids', 
+       'awscli-login', 'farmit')
 
+# Nice for git
 New-Alias ol           Get-GitLog
 New-Alias st           Get-GitStatus
-New-Alias dash  Get-Dashboard
-New-Alias agenda Get-JournalAgenda
+
+# Dashboard
+New-Alias dash   Get-MyDashboard # from dash.psm1
+New-Alias agenda Get-JournalAgenda # from minion_go.psm1