Commit Graph

332 Commits

Author SHA1 Message Date
Kevin Rockwood
4d75ddd50b Update current command with new util functions
current will now print paths to legacy files and .tool-version files
2016-08-14 09:10:24 +09:00
Kevin Rockwood
c6d814e247 Unify .tool-versions and legacy file search 2016-08-14 09:10:24 +09:00
Kevin Rockwood
16f3fa9f03 Use dummy plugin for utils test 2016-08-14 09:10:24 +09:00
Trevor Brown
0e8889b284 Add section to readme on the .asdfrc file. 2016-08-13 14:27:27 -04:00
Trevor Brown
c684430cc3 Merge branch 'add-changelog' 2016-08-04 19:24:15 -04:00
Trevor Brown
e31cdbd460 Add CHANGELOG.md with details on 0.1.0 and 0.2.0-dev. 2016-08-04 19:20:53 -04:00
Trevor Brown
e01b242bfa Merge branch 'setup-command-should-use-stable' 2016-08-04 19:17:21 -04:00
Trevor Brown
cf184ce453 Add -dev suffix to version currently in development (0.2.0). 2016-08-04 19:11:26 -04:00
Trevor Brown
c77fa1ab77 Update version in utils.sh. Next release will be 0.2.0. 2016-07-29 19:56:40 -04:00
Trevor Brown
2cb40a720b Update asdf setup command in readme so that the latest tag is checked out. 2016-07-29 19:55:52 -04:00
Daniel Perez
3d5a5b9040 Merge pull request #83 from rockwood/unify_version_getter
Unify Version Getter
2016-07-28 01:44:15 +09:00
Kevin Rockwood
7517aa3abc Remove getter feature on local and global commands
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes #80
2016-07-25 09:44:53 +09:00
Kevin Rockwood
0ce18100c5 Use dummy plugin in version_commands test
This adds a helper to install dummy versions. Hopefully it makes the
test setup a little easier to reason about.
2016-07-25 09:40:52 +09:00
Kevin Rockwood
ca1273e7d4 Rename which to current (#79)
* Rename `asdf which` -> `asdf current`

* Output `set by $path` with current command

* Use dummy plugin in current_command test

* Hide "set by" message if derived from legacy file
2016-07-25 00:47:17 +09:00
Laurens Duijvesteijn
337b335c4d Check if plugin exists before removing it (#77)
Check if plugin exists before removing it
2016-07-06 08:19:15 +09:00
Akash Manohar
e962639048 Merge pull request #78 from duijf/argument-validation. Thank you @duijf ~!
Argument validation
2016-07-03 21:51:29 +05:30
Laurens Duijvesteijn
ccefa996dc plugin-update: argument validation 2016-07-03 13:15:57 +02:00
Laurens Duijvesteijn
f9572739f6 plugin-add: argument validation 2016-07-03 13:11:40 +02:00
Daniel Perez
1589a03678 Merge pull request #53 from ctreatma/feature/only_pwd
Fix #52: Send any `cd` output to /dev/null
2016-07-02 13:56:41 +09:00
Charles Treatman
1d11a73600 Redirect all output to /dev/null, not just stdout 2016-07-01 19:40:05 -04:00
Daniel Perez
a8f67c9821 Fix issue in install get_concurrency 2016-07-01 18:26:25 +09:00
Akash Manohar
c44d05011d Merge pull request #75 from asdf-vm/make-concurrency
Set ASDF_CONCURRENCY when installing
2016-07-01 14:52:05 +05:30
Daniel Perez
3af5d21067 Set ASDF_CONCURRENCY when installing 2016-07-01 16:42:59 +09:00
Daniel Perez
da1dfb1dba Merge pull request #71 from dbernheisel/master
zsh: remove _asdf completion.
2016-07-01 15:50:20 +09:00
David Bernheisel
29807fd154 zsh: remove _asdf completion. #68 2016-06-29 16:06:33 -04:00
Daniel Perez
3af8a365e7 Merge pull request #69 from tejanium/master
Use bashcompinit instead of compinit for ZSH
2016-06-29 12:55:44 +09:00
Teja Sophista V.R
a2844400f4 use bashcompinit instead of compinit for ZSH 2016-06-27 11:14:12 +07:00
Daniel Perez
f53ee42dc1 Merge pull request #61 from tuvistavie/improve-plugin-test
Improve plugin tests
2016-06-17 18:39:48 +09:00
Daniel Perez
caee08d39b Improve plugin tests 2016-06-17 18:37:26 +09:00
Akash Manohar
7849d3a9aa Merge pull request #63 from Jwashton/master. Thank you @Jwashton ~!
Update README to include fedora package names
2016-06-17 07:09:07 +05:30
William Ashton
cf93b2265e Update README to include fedora package names 2016-06-16 17:14:05 -04:00
Akash Manohar
fe34eda5fe Merge pull request #59 from tuvistavie/add-travis-badges
Add travis badges to README
2016-06-12 14:09:54 +05:30
Daniel Perez
6b51f1b87b Add travis badges to README 2016-06-12 17:10:59 +09:00
Trevor Brown
724a1ab8cc Add Stratus3D to list of maintainers in readme. 2016-05-17 21:46:13 -04:00
Akash Manohar
c3765182f8 Merge pull request #51 from tuvistavie/use-multiple-versions
Make it possible to use fallback versions. Thank you @tuvistavie ~!
2016-05-14 15:19:29 +05:30
Akash Manohar
9c74973f8b Merge pull request #54 from tuvistavie/plugin-test
Add command and instructions to test plugin. Thank you @tuvistavie ~!
2016-05-14 10:07:17 +05:30
Daniel Perez
d633546bd2 Add local/global commands documentation. 2016-05-14 11:19:49 +09:00
Daniel Perez
61e014a2d6 Fix local command bug. 2016-05-14 11:11:16 +09:00
Daniel Perez
072a57e4cb Add command and instructions to test plugin. 2016-05-13 16:04:01 +09:00
Daniel Perez
dbbb0a5b7c Add maintainers to the README. 2016-05-13 13:06:14 +09:00
Charles Treatman
5e9b1cca77 Fix #52: Send any cd output to /dev/null
Users of `zsh` can define hook functions that execute when
the current directory changes.  If a user has their `zsh`
configured with a hook function that writes to stdout, the
`asdf` setup script will capture that output in addition to
the output of `pwd`, which causes a misconfiguration of the
`PATH` environment variable.

By redirecting the output, if any, of the `cd` command to
`/dev/null`, this ensures that the path to `bin` in `asdf`
is captured correctly regardless of `zsh` configuration.
2016-05-10 15:04:18 -04:00
Daniel Perez
3e31c40020 Make it possible to use fallback versions. 2016-05-04 02:22:48 +09:00
Akash Manohar
0c36c0036d Merge pull request #50 from tuvistavie/fix-local
Fix local command to support legacy files. Thank you @tuvistavie ~!
2016-05-02 21:18:42 +05:30
Daniel Perez
b0513a6da0 Fix local command to support legacy files. 2016-05-03 00:27:52 +09:00
Akash Manohar
c21215771c Merge pull request #47 from asdf-vm/hn/pr-24. Thank you @Stratus3D and @tuvistavie ~!
Check if legacy version file support is enabled before using it
2016-04-26 09:31:51 +05:30
Akash Manohar J
5739dd723a Check if legacy versions are enabled before using them 2016-04-25 05:02:18 +05:30
Akash Manohar J
18ed5c106a Merge latest master 2016-04-25 04:48:12 +05:30
Akash Manohar
16369f770c Merge pull request #46 from tuvistavie/local-global-commands
Add support for local and global commands. Thank you @tuvistavie ~!
2016-04-25 04:43:49 +05:30
Daniel Perez
784d7e9f34 Add support for local and global commands. 2016-04-25 02:13:09 +09:00
Akash Manohar
6abf98af4d Merge pull request #44 from tuvistavie/fish-support
Add fish support. Thank you @tuvistavie and @RobLoach for trying out fish shell support ~!
2016-04-24 22:19:06 +05:30