Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify version getter #80

Closed
danhper opened this issue Jul 14, 2016 · 2 comments
Closed

Unify version getter #80

danhper opened this issue Jul 14, 2016 · 2 comments

Comments

@danhper
Copy link
Member

danhper commented Jul 14, 2016

Me:

Thinking about it, we also have three ways of checking the version local, global and current,
we should also think about simplifying this, but let's have this discussion somewhere else! 😄

@rockwood

I wonder how useful the getter versions of local and global are. What's the use case there?

@rockwood I ported the functionality from rbenv, but I think the getters are not very useful, so we should probably use current to get the version, and make global and local setters only, which would make more sense to me.

@asdf-vm/maintainers Would everyone be ok with this change?

rockwood added a commit to rockwood/asdf that referenced this issue Jul 23, 2016
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes asdf-vm#80
rockwood added a commit to rockwood/asdf that referenced this issue Jul 23, 2016
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes asdf-vm#80
rockwood added a commit to rockwood/asdf that referenced this issue Jul 25, 2016
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes asdf-vm#80
@aitor
Copy link

aitor commented Dec 31, 2018

Just for the record… coming from rbenv I was expecting to be able to check the global version (versus the current one) to customize my shell (powerlevel9k) and display the elixir version only in the folders where its version differs from the global setting.

@aitor
Copy link

aitor commented Dec 31, 2018

My solution to the problem for anyone that finds this: https://gist.github.com/aitor/d6a67fd9aa31905a0a90ebba977aac5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants