X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/761d8c396782b2196994ed79c767babaaf9b3c4c..61d5c5093ebdf7b71a0c3a8743077178aa7d462d:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 56acd4b..8dc6fdf 100644 --- a/Microsoft.PowerShell_profile.ps1 +++ b/Microsoft.PowerShell_profile.ps1 @@ -1,4 +1,4 @@ -# .EXAMPLE +#WebDriverException: Message: unknown error: cannot determine loading status .EXAMPLE # . C:\src\dotfiles\Microsoft.PowerShell_profile.ps1 # Courtesty of MKletz @@ -10,12 +10,12 @@ $env:src = "~\src" if($IsWindows){ - Write-Host "***Is Windows***" $env:src = "c:\src" } if($IsWindows){ # Some Paths that are annoying to find/restore if the installer fails + $ENV:PATH+=";$env:src\bin" # anything else I need $ENV:PATH+=";C:\Program Files\Microsoft VS Code\bin" # One Editor to rule them all $ENV:PATH+=";C:\Program Files\Git\cmd" # Version control is nice. $ENV:PATH+=";C:\ProgramData\chocolatey\bin" # Package management is nice. @@ -32,7 +32,7 @@ else { # alias renumber $HOME/src/x16-demo/ -$env:Journal = "~\Journal\2022" # allows cd $env:journal +$env:Journal = "~\Journal" # allows cd $env:journal $env:minion = "$env:src\minion" # Import some home grown PowerShell modules, if they are installed. @@ -116,13 +116,14 @@ $env:GITHUB_REPOS = @( 'techservicesillinois/farmit', 'uillinois-community/uillinois-community.github.io', 'techservicesillinois/SecOps-Powershell-CSOC', - 'techservicesillinois/SecOps-Powershell-CISDSC/' + 'techservicesillinois/SecOps-Powershell-CISDSC', + 'techservicesillinois/secops-splunk-null-router' ) -join ' ' $ENV:TS_REPOS = $ENV:GITHUB_REPOS.split(' ') | Where { $_ -like 'techser*' } # Todo List $ENV:PATH+=";$env:src\todolist" # todo list utility edthedev\todolist -$env:todolist = "C:\Users\delaport\Journal\2022" +$env:todolist = "C:\Users\delaport\Journal\" # New-Alias todo todolist # Nice for git