Commit Graph

889 Commits

Author SHA1 Message Date
Trevor Brown
8bcf8caba4 Write test for the exec-path functionality in the which command 2019-01-05 10:54:02 -05:00
Trevor Brown
c37307a2cc Create get_custom_executable_path function to hold the custom exec path logic 2019-01-05 10:23:41 -05:00
James Hegedus
cdf648c7c0
Merge pull request #423 from wulfmann/readme
improve macOS Brew installation setup
2019-01-05 09:55:51 +11:00
Joe Snell
a1bf491678 fix link and code highlighting 2019-01-04 10:45:02 -06:00
Joe Snell
8d1af015eb fix out of order line 2019-01-04 10:41:28 -06:00
Joe Snell
4b65669457 add homebrew section to readme and reorganize slightly 2019-01-04 10:40:14 -06:00
Trevor Brown
ed3063ac30
Merge pull request #421 from lojack/fish-path-fix
Fixed user paths for fish
2019-01-02 15:52:06 -05:00
Robert Clark
733b4d8dde Updated test for path 2018-12-29 18:46:22 -05:00
Robert Clark
08655e9606 Fixed user paths for fish 2018-12-29 14:17:38 -05:00
Trevor Brown
c2572af596
Merge pull request #419 from Raphx/continue-list-on-version-not-found
Continue list even when version is not found
2018-12-27 21:11:55 -05:00
Raphx
ec6662d4c0
Continue list even when version is not found
Previous implementation exits abruptly when no version is installed for
a plugin. This prevented the list command from listing the versions for
some other plugins.

This commit allows list command to continue executing even when no
version is installed for some plugins.

Example, plugin a with 1.0, b with none, and c with 2.0.

Previous implementation:

```
$ asdf list

a
  1.0
b
No versions installed
```

After commit changes:

```
$ asdf list

a
  1.0
b
No versions installed
c
  2.0
```
2018-12-28 09:21:43 +08:00
Trevor Brown
922faffd7c
Merge pull request #417 from asdf-vm/tests-for-env-var-versions
Add tests for versions set by environment variables
2018-12-22 15:19:36 -05:00
Trevor Brown
54fc0f43dd Add tests for versions set by environment variables
Fixes #327
2018-12-22 15:11:28 -05:00
Trevor Brown
fcf5f3653c
Merge pull request #416 from asdf-vm/fix-shellcheck-warnings
Fix shellcheck warnings on OSX
2018-12-21 17:34:37 -05:00
Trevor Brown
41e2059a3e Fix shellcheck warnings on OSX 2018-12-20 17:25:30 -05:00
Trevor Brown
7494b11ada
Merge pull request #408 from asdf-vm/Stratus3D-patch-1
Remove unused asdf shims directory
2018-12-04 09:51:01 -05:00
Trevor Brown
7ca88746a8
Merge pull request #411 from rliebz/update
Fix issues with update command
2018-12-02 14:12:23 -05:00
Robert Liebowitz
321e3b0e46 Exit 1 for failed update 2018-12-01 21:17:27 -05:00
Robert Liebowitz
697772fe8c Fix git dir for update and add error handling 2018-12-01 21:07:44 -05:00
Robert Liebowitz
76c3d426c1 Fix update test setup
Rather than using the project's current `.git` directory, create a new
one. This avoids issues with submodules and potentially other problems.
2018-12-01 21:05:58 -05:00
Daniel Perez
2a778cc075
Merge pull request #404 from rliebz/completion-errors
Silence errors during tab completion
2018-11-29 00:47:00 +00:00
Daniel Perez
2eae89c432 Fix which for when "system" version is present 2018-11-29 00:31:31 +00:00
Daniel Perez
11882c1151
Merge pull request #382 from fcrespo82/better-which-command
Updated which command.
2018-11-29 00:18:51 +00:00
Trevor Brown
ec5a280beb
Remove unused asdf shims directory 2018-11-27 10:18:05 -05:00
Trevor Brown
ffb6194a17 Update version to 0.6.2 2018-11-26 20:58:20 -05:00
Trevor Brown
a5cbd7d23b Preparing for 0.6.2 release. 2018-11-26 20:58:10 -05:00
Trevor Brown
dd5a8036f3
Merge pull request #406 from asdf-vm/Stratus3D-patch-1
Make get_executable_path use `ASDF_DATA_DIR`
2018-11-26 09:06:12 -05:00
Trevor Brown
f88f140ea8
Make get_executable_path use ASDF_DATA_DIR
Fixes #402
2018-11-26 08:50:11 -05:00
Fernando Crespo
0871b7fe8f Change maxdepth position to fix error in ubuntu trusty 2018-11-21 14:57:05 -02:00
Trevor Brown
22b709f94e
Merge pull request #403 from burnettk/support-tool-versions-without-newline
support .tool-versions content even if it does not end in a newline
2018-11-20 09:18:41 -05:00
Robert Liebowitz
fc1b3b9f87 Silence errors during tab completion 2018-11-16 07:25:33 -05:00
Kevin Burnett
f1b2c59b1d support .tool-versions if it does not end in newline 2018-11-15 21:47:48 -05:00
Trevor Brown
909a0e9b4b Update version to 0.6.1 2018-11-13 20:07:27 -05:00
Trevor Brown
eaafaa190c Preparing for 0.6.1 release. 2018-11-13 20:07:15 -05:00
Fernando Crespo
03394831a8 Merge remote-tracking branch 'upstream/master' into better-which-command 2018-11-12 15:35:19 -02:00
Fernando Crespo
3491322601 Fixed review issues and added -L to find to account for python having its main binary as a symlink 2018-11-12 15:30:44 -02:00
Daniel Perez
dab04107ff
Merge pull request #401 from asdf-vm/fix-current-with-multiple-versions
Fix current behavior when multiple versions of a plugin are set
2018-11-10 11:41:22 +00:00
Daniel Perez
18587d4d6f Fix current behavior when multiple versions of a plugin are set 2018-11-10 11:32:02 +00:00
Daniel Perez
953e32ae34
Merge pull request #399 from jlw/doc/readme
Wrap README to 80 characters where possible; minor rewording
2018-11-10 11:19:37 +00:00
Daniel Perez
194f581b4f
Merge pull request #398 from jlw/doc/typo
Fix README typo of maintainer Daniel Perez's username
2018-11-10 11:16:27 +00:00
Daniel Perez
103757a5b5
Merge pull request #397 from jlw/doc/update-asdf
Add README documentation on updating asdf
2018-11-10 11:15:16 +00:00
Daniel Perez
c10811e379
Merge pull request #392 from mig4/fix-fish-init-snippet
Fix fish shell init snippet
2018-11-10 11:01:48 +00:00
Jeremy Weathers
d0e6f02910 Wrap README to 80 characters where possible; minor rewording 2018-11-09 17:50:10 -06:00
Jeremy Weathers
fbc8c701e2 Fix README typo of maintainer Daniel Perez's username 2018-11-09 17:15:01 -06:00
Jeremy Weathers
c7c9981ab5 Add README documentation on updating asdf 2018-11-09 14:26:01 -06:00
Trevor Brown
76a4177066
Merge pull request #395 from jsatk/patch-1
Add section about sourcing shell file in correct place
2018-11-07 15:25:23 -05:00
Jesse Atkinson
7c5be4addb
Add section about sourcing shell file in correct place 2018-11-07 11:38:24 -08:00
Trevor Brown
359191104b
Merge pull request #389 from mig4/where-default-version-to-current
Make where command default to current version
2018-11-03 10:07:44 -04:00
mig4
538777de95
Fix fish shell init snippet
- add `bin` and `shims` directories from asdf installation to PATH
- add `shims` directory from `$ASDF_DATA_DIR` (default `$HOME/.asdf`) to
  PATH
- don't create directories in init script (directories are only added to
  PATH if they exist, besides there is no warning when a directory does
  not exist (perhaps it was a bug that was fixed))

This brings the fish snippet closer to the one for sh.
2018-11-01 22:12:09 +00:00
Trevor Brown
a8c7b084e4
Merge pull request #388 from mig4/optimise-plugin-installed-flag
Optimise listing all plugins
2018-11-01 10:51:30 -04:00