]> apps.delaporte.us Git - dotfiles.git/commitdiff
Do not load Excel based module on Pi
authorEdward Delaporte <edward@delaporte.us>
Sat, 13 Mar 2021 22:58:34 +0000 (16:58 -0600)
committerEdward Delaporte <edward@delaporte.us>
Sat, 13 Mar 2021 22:58:34 +0000 (16:58 -0600)
Microsoft.PowerShell_profile.ps1
win_psmodules/Teams2Markdown.psd1 [moved from psmodules/Teams2Markdown.psd1 with 100% similarity]
win_psmodules/Teams2Markdown.psm1 [moved from psmodules/Teams2Markdown.psm1 with 100% similarity]

index 7f228624c3a2529febeeda966821165986b1e19f..69c720db7e05947acaea66e78cbc1bc0e3bb9d93 100644 (file)
@@ -33,6 +33,9 @@ if($IsWindows){
 #
 $modPaths = Get-Childitem -Path "$src\dotfiles\psmodules"
 $modPaths += Get-Childitem -Path "$src\minion\psmodule"
+if($IsWindows){
+       $modPaths += Get-Childitem -Path "$src\dotfiles\win_psmodules"
+}
 if($modPaths.length -eq 0){
        Write-Host "No modules found."
 }
@@ -44,11 +47,13 @@ $modPaths | ForEach-Object {
 
 # $env:PSModulePath = $env:PSModulePath + ";$src\dotfiles\psmodules"
 
+# Windows Only Modules
+
 
 # Linux-like up/down in shell
 Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward 
 Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward 
-Set-PSReadlineOption -HistorySavePath c:\temp\PSHistory.log
+Set-PSReadlineOption -HistorySavePath $src\PSHistory.log
 
 # Minion alias commands - 'today'
 . $src\minion\profiles\alias.ps1