To setup a system:
$ENV:SYSTEM_NAME = ""
$GITHUB_USERNAME = "YoraiLevi"
irm https://raw.githubusercontent.com/YoraiLevi/dotfiles/master/Install.ps1 | iex
$ENV:SYSTEM_NAME = "TP412FAC"
$ENV:SYSTEM_NAME = "VirtualMachine"
chezmoi state delete-bucket --bucket=entryState; chezmoi state delete-bucket --bucket=scriptState; chezmoi init; chezmoi apply
Debugging templates
cat template.tmpl | chezmoi execute-template $_
TODO read about Special files and directories
test again and report bug related to vscode typing issue when editor is specified on toml
- don't use editor variable in env
- dont use conda/posh
- pwsh.exe vs cmd.exe vs default
- getting system info:
- windows update pausing
reference examples:
https://github.com/mimikun/dotfiles/tree/master
https://github.com/SeeminglyScience/dotfiles/tree/main
Avoiding admin: What registry objects could be (over)written using HKEY_CURRENT_USER
https://stackoverflow.com/a/19149700/12603110
How to install chocolatey software without admin?
Character order:
PS> [string](33..126 | %{$([string][char]$_)} | sort)
_ - , ; : ! ? . ' " ( ) [ ] { } @ * / \ & # % ` ^ + < = > | ~ $ 0 1 2 3 4 5 6 7 8 9 A a B b C c d D e E f F g G h H I i j J K k L l m M n N o O P p Q q R r s S T t U u v V w W x X y Y Z z
powercfg and power configurations, hibernation file explorer and taskbar pins powershell modules wsl stuff rust? compiled languages toolchains... registry -> learn how to merge without admin permission disable rotation https://superuser.com/a/1833703/1220772
- Validate templates compile
- Validate code could work in theory - linter etc
- setup powershell pester5 tests
- automated tests with vm?
- better vagrant setup?