Photo - Emily Hon
Photo

Environments


Windows

A fickle, proprietary, fragile, expensive monstrosity.

Use a Package Manager

Use winget if you can!

Use Nushell

winget install Nushell.Nushell

Git

Git on Windows is a... 'special' flower.

winget install Git.Git

On big clones errors like this are common:

$ git clone --recurse-submodules -j16 git@github.com:boop/droop.git
Cloning into 'droop'...
remote: Enumerating objects: 2673758, done.
remote: Counting objects: 100% (49873/49873), done.
remote: Compressing objects: 100% (14594/14594), done.
fetch-pack: unexpected disconnect while reading sideband packetB/s
fatal: fetch-pack: invalid index-pack output

Pass --depth 1 to improve the chance it might succeed. Then:

git fetch --unshallow

Disable Recall

From an administrator terminal:

Dism /Online /Disable-Feature /Featurename:Recall

Disable Start Menu's Bing searches

To disable the Bing searches in the start menu when you start typing (and thus only search the local machine):

powershell -c 'Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Search -Name "DisableSearchBoxSuggestions" -Value 1 -Type DWord'
            619d0c41df1f0e363097fefc07bbaf104bb15705