]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Set journal path for convenience.
authorEdward Delaporte <delaport@illinois.edu>
Thu, 11 Feb 2021 21:33:58 +0000 (15:33 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Thu, 11 Feb 2021 21:33:58 +0000 (15:33 -0600)
Microsoft.PowerShell_profile.ps1

index dfe459321db14aadd3f8174dcbe053fc0e406fc2..8d8692cc8bbc299d0d32486600162b74d0fc43ec 100644 (file)
@@ -21,8 +21,9 @@ if($IsWindows -eq "") {
 #      $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
 #}
 
 #      $ENV:PATH+=";C:\PENGUIN" # Flag to ensure my profile kicked in.
 #}
 
-# Import some home grown PowerShell modules, if they are installed.
+$env:Journal = "~\Journal\2021" # allows cd $env:journal
 
 
+# Import some home grown PowerShell modules, if they are installed.
 $modPaths = Get-Childitem -Path "c:\src\dotfiles\psmodules"
 $modPaths += Get-Childitem -Path "c:\src\minion\psmodule"
 if($modPaths.length -eq 0){
 $modPaths = Get-Childitem -Path "c:\src\dotfiles\psmodules"
 $modPaths += Get-Childitem -Path "c:\src\minion\psmodule"
 if($modPaths.length -eq 0){