dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
679 stars 67 forks source link

Confusing output from "choosenim show" #54

Open PMunch opened 6 years ago

PMunch commented 6 years ago

I have both stable and #devel installed, but #devel is currently selected. When I run choosenim show it gives me this confusing output:

Channel: stable
Version: #devel
  Path: /home/peter/.choosenim/toolchains/nim-#devel
dom96 commented 6 years ago

Guessing this happened because you selected the channel stable and then the version #devel. The channel should be changed to "None" in this case I think

dom96 commented 6 years ago

Alternatively we can detect that #devel equals channel devel and just switch to it anyway.