Repository navigation
·
4 commits
to main
since this release
Fixed
- Terminal aliases no longer corrupt a UTF-16 PowerShell profile.
_read_profileguessed the encoding, and a UTF-16profile.ps1(what PS 5.1'sOut-File $PROFILEproduces) fails UTF-8 but succeeds under cp1252 as mojibake - so on a Western-locale machinequickrun alias --cmdrewrote the whole profile as garbage. A BOM is now authoritative, and BOM-less UTF-16 is detected too (it decodes as valid UTF-8 with NULs). - Profile writes are byte-exact. Every existing line keeps its own ending and the original encoding is reused, so quickrun no longer rewrites line endings it did not author.
quickstart --uiactually forces the picker. It was silently ignored whenever--areawas also given; now--ui --area codingopens the picker with that area preselected.--uiand--no-uiare mutually exclusive instead of--no-uiquietly winning.--appsasks when a name matches several exes, the wayfindalready did. The shared chooser also stops treating an answer of0as "the last hit".quickrun updateverifies before it swaps. The download's size and the release's sha256 are checked; a truncated or tampered file is discarded and your workingquickrun.exeis left untouched.alias --cmdonly creates a profile for a shell you actually have, and now prints the profiles it wrote to.
Internal
- First test suite: 34 cases (Windows-only; profile paths redirect to a temp dir, the registry is never written). Run with
pip install -e ".[dev]" && pytest.
Install / update
irm https://raw.githubusercontent.com/Unknownuserfrommars/quickrun/main/install.ps1 | iexor from an existing install: quickrun update