Skip to content

YoraiLevi/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

Debugging all run_ scripts

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

  1. don't use editor variable in env
  2. dont use conda/posh
  3. pwsh.exe vs cmd.exe vs default
  4. getting system info:
    1. https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-computersystem
    2. https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-systemenclosure
    3. https://techuisitive.com/enclosure-chassis-types-value-description-configmgr-sccm/?expand_article=1
  5. windows update pausing
    1. https://stackoverflow.com/questions/62424065/pause-windows-update-for-up-to-35-days-and-find-out-until-which-date-updates-are

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

TODOS:

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

  1. Validate templates compile
  2. Validate code could work in theory - linter etc
  3. setup powershell pester5 tests
  4. automated tests with vm?
  5. better vagrant setup?

Releases

No releases published

Packages

No packages published