%WSLENV%: invalid variable name
daniel-shuy opened this issue · comments
Daniel Shuy commented
When using bass
in WSL, the command works, but an error is displayed:
set: %WSLENV%: invalid variable name. See `help identifiers`
From debugging with -d
, the temp script file generated by __bass.py
contains:
set -g -x %WSLENV% ""
Eddie Cao commented
Can you test the fix and let me know if it works?
Daniel Shuy commented
It worked, thanks for the quick fix!
This was due to configuring WSL to use GCM (git-credential-manager) for Windows without installing Git for Windows (https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/wsl.md#configuring-wsl-without-git-for-windows).