X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/e4cbf2a9bf91a870e5de15a783b991f7444a2a97..718d008dee0a126d03c828335da5becd193158b1:/Microsoft.PowerShell_profile.ps1?ds=sidebyside diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 index 8c70b3e..7348670 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. @@ -30,9 +30,14 @@ else { $ENV:PATH+=":$HOME/src/x16-demo/tools" # x16 python tools } +# Todo List +$ENV:PATH+=";$env:src\todolist" # todo list utility edthedev\todolist +$env:todolist = "C:\Users\delaport\Journal\" +# New-Alias todo todolist + # 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. @@ -115,14 +120,12 @@ $env:GITHUB_REPOS = @( 'techservicesillinois/awscli-login', 'techservicesillinois/farmit', 'uillinois-community/uillinois-community.github.io', - 'techservicesillinois/SecOps-Powershell-CSOC' + 'techservicesillinois/SecOps-Powershell-CSOC', + '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" -# New-Alias todo todolist # Nice for git New-Alias ol Get-GitLog