4 [switch]$Optional=$false
14 Write-Error "Add-ToPath failed for $PATH"
20 # Some Paths that are annoying to find/restore if the installer fails
21 Add-ToPath "C:\Program Files\Git\cmd" # Version control is nice.
22 Add-ToPath "C:\ProgramData\chocolatey\bin" # Package management is nice.
23 Add-ToPath "C:\Program Files (x86)\GnuWin32\bin" -optional # GNU Utils - i.e. rm
24 Add-ToPath "$env:src\bin" -optional # anything else I need
25 Add-ToPath "$HOME\bin" -optional # anything else I need
28 Add-ToPath "$env:src\chart" -optional # command line chart utility edthedev\chart
29 Add-ToPath "$env:src\agenda" -optional # command line chart utility edthedev\chart
30 Add-ToPath "$env:src\todolist" -optional # todo list utility edthedev\todolist
32 Add-ToPath "C:\ProgramData\mingw64\mingw64\bin" # for GCC for LazyVim
35 Add-ToPath "$env:src/bin" -optional # anything else I need
36 Add-ToPath "$HOME/bin" # anything else I need
37 Add-ToPath "$HOME/x16/x16-emulator" -optional # x16 Emulator
38 Add-ToPath "$HOME/src/x16-demo/tools" -optional # x16 python tools
41 Add-ToPath "$env:src/chart" -optional # command line chart utility edthedev\chart
42 Add-ToPath "$env:src/agenda" -optional # command line chart utility edthedev\chart
43 Add-ToPath "$env:src/todolist" -optional # todo list utility edthedev\todolist
45 Add-ToPath "$HOME/go/bin" -optional # x16 python tools
47 # krew for K8S pluginsa - specifically vtrl
48 Add-ToPath -optional "$HOME/.krew/bin"
49 Add-ToPath -optional 'C:\Users\delaport\AppData\Roaming\Python\Python312\Scripts'
51 # $env:path+=";C:\Program Files\Git\bin"
52 # $env:path+=";C:\Program Files (x86)\Microsoft VS Code\"