taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

UX: default elixir version #58

Closed edennis closed 6 years ago

edennis commented 7 years ago

Thanks for the great work with kiex! The setup was simple and it was very easy to get running. There was only one thing I stumbled over a bit and that was setting the default elixir version to be used. After adding the line to your .bashrc to source the kiex script everything works fine. If you, however, open a new shell and haven't yet set a default elixir version you get:

$ iex -v
-bash: iex: command not found

The only thing helpful I could come up with which might make it more intuitive would be to add a comment to the message that is output when you're setting up if a default version isn't set yet. What do you think?

I'm happy to do a PR if you like.