]> apps.delaporte.us Git - dotfiles.git/blobdiff - Microsoft.PowerShell_profile.ps1
Sprint dashboard -list and -chart flags
[dotfiles.git] / Microsoft.PowerShell_profile.ps1
index f70c705774b77adf471cbf91753cb0e9e9669ed6..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"
 
 $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"
 # Windows Only Modules
 if($IsWindows){
        $modPaths += Get-Childitem -Path "$env:src\dotfiles\win_psmodules"
@@ -100,14 +103,16 @@ function Get-GitStatus() {
        git status -b --short
 }
 
        git status -b --short
 }
 
-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
 
 # Dashboard
 
 # Nice for git
 New-Alias ol           Get-GitLog
 New-Alias st           Get-GitStatus
 
 # Dashboard
-New-Alias dash   Get-MyDashboard # See dash.psm1
-New-Alias agenda Get-JournalAgenda
+New-Alias dash   Get-MyDashboard # from dash.psm1
+New-Alias agenda Get-JournalAgenda # from minion_go.psm1