edc / bass

Make Bash utilities usable in Fish shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

%WSLENV%: invalid variable name

daniel-shuy opened this issue · comments

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% ""

Can you test the fix and let me know if it works?

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).