]> apps.delaporte.us Git - dotfiles.git/commitdiff
Add AgileGitHub helper modules
authorEdward Delaporte <delaport@illinois.edu>
Tue, 21 Nov 2023 17:18:13 +0000 (11:18 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Tue, 21 Nov 2023 17:18:13 +0000 (11:18 -0600)
doc/github.md
files/Microsoft.PowerShell_profile.ps1

index cae9634dba81fd50a0d505275618cfae891b347b..800e3027e3b86723e0ace7c0537fa97682244c80 100644 (file)
 
        ```powershell
        gh auth login
 
        ```powershell
        gh auth login
-       ```
\ No newline at end of file
+       ```
+
+## Setup PowerShell for GitHub
+
+1. Install PowerShell for GitHub
+
+       ```powershell
+       Install-Module -Name PowerShellForGitHub -Scope CurrentUser
+       ```
+
+1. Clone my multi-repo helper scripts
+
+       ```powershell
+       cd ~/src
+       git clone git@github.com:uillinois-community/powershell-scripts.git
+
+       ```
index 7aeb6925e10fc16d80dd3406741983bea9446e7f..ad401987809f8bde96645401e4b47eaa9a0794a3 100644 (file)
@@ -27,12 +27,16 @@ Set-PSReadlineOption -EditMode Vi
 Write-Host "+ Type 'pg' to enable PoshGit"
 Write-Host 'See $env:realProfile for version controlled profile file.'
 
 Write-Host "+ Type 'pg' to enable PoshGit"
 Write-Host 'See $env:realProfile for version controlled profile file.'
 
-# Load some modules
+# Load dotfiles modules
 $env:psmodules = "$env:dotfiles\psmodules"
 Import-Module "$env:psmodules\dash.psm1"
 Import-Module $env:PSModules\file_management.psm1
 Import-Module "$env:psmodules\fix_vpn.psm1"
 Import-Module $env:PSModules\house_shopping.psm1
 
 $env:psmodules = "$env:dotfiles\psmodules"
 Import-Module "$env:psmodules\dash.psm1"
 Import-Module $env:PSModules\file_management.psm1
 Import-Module "$env:psmodules\fix_vpn.psm1"
 Import-Module $env:PSModules\house_shopping.psm1
 
+# Load local source modules
+Import-Module $env:src\powershell-scripts\modules\AgileGitHub.psm1
+Import-Module $env:src\powershell-scripts\modules\MarkdownGitHub.psm1
+
 # Let's face it, I'm about to cd into my source directory
 if((Get-Location).Path -eq $HOME){ cd $env:src }
 # Let's face it, I'm about to cd into my source directory
 if((Get-Location).Path -eq $HOME){ cd $env:src }