fnox 1.21.0: PowerShell-Integration und Windows-Fixes
fnox 1.21.0 unterstützt PowerShell zum automatischen Laden von Secrets und behebt unter Windows Nushell-Aktivierungsfehler durch Backslashes in Pfaden sowie die Auflösung ausführbarer Dateien mit Endungen.
v1.21.0 brings first-class PowerShell support for auto-loading secrets, plus two important fixes for Windows users.
Added
PowerShell integration (#421) -- @nbfritch
fnox now supports PowerShell (pwsh / powershell) alongside bash, zsh, fish, and Nushell for automatic secret loading. Add the following to your PowerShell profile to enable it:
(&fnox activate pwsh) | Out-String | Invoke-Expression
The integration hooks into the PowerShell prompt to run hook-env on each prompt, sets and unsets environment variables as you change directories, and prints the familiar fnox: +1 FOO / fnox: -1 FOO diff output. Tested on PowerShell 7.6 on macOS and Windows, as well as Windows PowerShell 5.1. See the Shell Integration guide for setup details.
Fixed
Windows: Nushell activation errors from backslashes in paths (#425) -- @john-trieu-nguyen
On Windows, fnox activate nu emitted paths with backslashes (e.g. C:\Users\john) inside Nushell double-quoted strings, which Nushell parses as escape sequences -- producing unrecognized escape after "\\" in string. Paths are now normalized to forward slashes so Nushell integration works out of the box on Windows.
Windows: Executable resolution for commands with extensions (#427) -- @john-trieu-nguyen …