hensou / asdf-dotnet

dotnet (.net) plugin for asdf version manager
MIT License
42 stars 10 forks source link

asdf-dotnet fish script makes the prompt slow #11

Closed hensou closed 1 year ago

hensou commented 1 year ago

Describe the bug

After installing and sourcing the fish script the prompt is very slow.

  1. Install asdf-dotnet
  2. Source the fish configuration file
  3. Press enter and see the promp being slow

Expected behavior

It shouldn't be that slow.

Additional context

This happens because the script calls dotnet version in order to set the global variables accordingly. But we don't need to do that as we can get the version from the path.

hensou commented 1 year ago

closed by #12