Daniel Perez
a33819958f
Fix current command when using multiple versions concurrently
2018-07-15 21:00:47 +09:00
Trevor Brown
a8ee53f5ad
Disable shellcheck warning for echo statement.
2018-07-14 20:14:02 -04:00
Trevor Brown
bd8f7d9139
Print helpful error message when $ASDF_DIR is not a directory.
2018-07-14 20:01:09 -04:00
Trevor Brown
f5b5cf379d
Merge branch 'rafaelliu-fix-subshell-command'
2018-07-14 09:49:03 -04:00
Trevor Brown
6d63496528
Switch from return
to exit 1
when ASDF_DIR is not a dir.
2018-07-14 09:47:33 -04:00
Daniel Perez
657cef833a
Merge pull request #340 from friedenberg/master
...
Fix issue with Fish shell shim loading script
2018-07-14 09:40:27 -04:00
Sasha Friedenberg
3a4b9042e3
Fix issue with Fish shell shim loading script
2018-07-14 09:40:27 -04:00
Trevor Brown
a9f3d6ca1f
Merge pull request #337 from Stratus3D/symlink-tests
...
Symlink fix and tests
2018-07-14 09:40:26 -04:00
Trevor Brown
66e96d59b3
Merge pull request #331 from brennanfee/fix-330-asdf-list
...
Fix for #330 - "asdf list" spacing
2018-07-14 09:40:26 -04:00
Trevor Brown
696f7b0f69
Switch to single quotes for sed regex.
2018-07-14 09:40:26 -04:00
Trevor Brown
ee9d7435bc
Merge pull request #336 from Stratus3D/fix-shellcheck-warnings
...
Fix shellcheck warnings.
2018-07-14 09:40:26 -04:00
Trevor Brown
efa5c5c3e6
Ignore shellcheck warning.
2018-07-14 09:40:26 -04:00
Trevor Brown
b88110469f
Fix shellcheck warnings.
2018-07-14 09:40:26 -04:00
Trevor Brown
34ad911539
Resolve symlink paths before altering .tool-version files.
2018-07-14 09:40:26 -04:00
Trevor Brown
f7b71ba86a
Add tests for symlink preservation.
2018-07-14 09:40:26 -04:00
Trevor Brown
feaebe53df
Add readlink to list of banned commands.
2018-07-14 09:40:26 -04:00
Daniel Perez
cee3659790
Merge pull request #340 from friedenberg/master
...
Fix issue with Fish shell shim loading script
2018-07-14 11:49:08 +09:00
Sasha Friedenberg
adfe8c188b
Fix issue with Fish shell shim loading script
2018-07-11 13:14:30 -04:00
Trevor Brown
9a525d6bca
Merge pull request #337 from Stratus3D/symlink-tests
...
Symlink fix and tests
2018-06-17 19:37:11 -04:00
Trevor Brown
bcdc5e0ba7
Switch to single quotes for sed regex.
2018-06-17 19:31:36 -04:00
Trevor Brown
001cd6022f
Ignore shellcheck warning.
2018-06-16 23:07:17 -04:00
Trevor Brown
631ad8a005
Resolve symlink paths before altering .tool-version files.
2018-06-16 22:59:37 -04:00
Trevor Brown
c7fb348ffd
Add tests for symlink preservation.
2018-06-16 22:48:16 -04:00
Trevor Brown
4a4f453a93
Add readlink to list of banned commands.
2018-06-16 20:19:33 -04:00
Trevor Brown
c1ce9de4d4
Merge pull request #331 from brennanfee/fix-330-asdf-list
...
Fix for #330 - "asdf list" spacing
2018-06-16 15:30:35 -04:00
Trevor Brown
5e494f28e7
Merge pull request #336 from Stratus3D/fix-shellcheck-warnings
...
Fix shellcheck warnings.
2018-06-16 15:29:24 -04:00
Trevor Brown
1b44fa7549
Fix shellcheck warnings.
2018-06-16 15:26:02 -04:00
rafaelliu
fb4fc79be7
Adding back check if directory exists
2018-06-06 19:06:13 -07:00
rafaelliu
ae31774c69
Fixes #333 , there was a unnecessary cd issued (typo?) within a $ subshell on asdf.sh
2018-06-06 18:37:57 -07:00
Brennan Fee
ba1b181b58
Fixing unit tests for 'asdf list'
...
Now that we put spacing in front of the version #'s the tests need to
reflect that.
2018-06-01 10:15:40 -05:00
Trevor Brown
92c36393fa
Merge pull request #328 from brennanfee/master
...
Fix another spot for plugin-name env var lookup
2018-06-01 08:54:16 -04:00
Brennan Fee
8a018715c7
Fix for #330 - "asdf list" spacing
...
In order to make the output of "asdf list" a bit easier to read, this commit adds two spaces to the front of each version being written so as to indent them under the plugin.
2018-05-31 11:45:20 -05:00
Brennan Fee
4cb89b152c
Fix another spot for plugin-name env var lookup
...
After fixing #319 I wondered if there were any other spots where the same/similar bug existed. I found one other location at line 126 in utils.sh.
2018-05-31 10:46:04 -05:00
Trevor Brown
d0b8c2ad68
Merge pull request #326 from brennanfee/master
...
Fix for #319
2018-05-30 22:48:31 -04:00
Brennan Fee
67bc9539d1
Fix for #319
...
Fixed #319 by forcing all dashes to underscores in the plugin name.
Shell variables don't allow dash.
2018-05-30 20:02:23 -05:00
Trevor Brown
877215ea79
Merge pull request #325 from sgnd/patch-1
...
Step for restart shell
2018-05-30 15:27:25 -04:00
Sugeng Agung Suganda
60113de677
Step for restart shell
2018-05-30 11:37:41 -07:00
Trevor Brown
878f0e9459
Merge pull request #323 from the-mikedavis/existing-plugin-exit-code
...
Make the exit code of an already installed plugin distinct
2018-05-30 09:11:38 -04:00
Michael Davis
3f51d3a5ab
Change exit code from 0 -> 2
2018-05-29 21:47:46 -05:00
Trevor Brown
3bcbc69ed3
Update version to 0.5.0
2018-05-28 15:15:03 -04:00
Trevor Brown
d0b9b837c9
Remove -dev tag from 0.5.0 version in changelog.
2018-05-28 15:14:52 -04:00
Trevor Brown
c041c930c5
Update CHANGELOG.md in preparation for 0.5.0 release.
2018-05-28 15:09:49 -04:00
Michael Davis
c4a2ffb356
Make exit code of an already installed plugin 0
...
When plugin-add is called on a plugin that's already installed, asdf
will return 0.
2018-05-25 13:26:48 -05:00
Akash Manohar
459ae45650
Merge pull request #314 from andrewthauer/plugin-exec-path
...
Feature: Plugin Hook for Custom Executable Path
2018-05-25 15:04:57 +05:30
Trevor Brown
6c2d95f50e
Add another item to the changelog for 0.5.0.
2018-05-01 08:45:17 -04:00
Daniel Perez
b3408a0eaf
Merge pull request #315 from mxie/mx-include-plugin-name-in-error-output
...
Include plugin name in error message if plugin doesn't exist
2018-05-01 10:59:04 +09:00
Melissa Xie
f79dda865a
Include plugin name in error message if plugin doesn't exist
...
Previously, if we ran a command like `asdf install` and we encountered a
plugin that didn't exist, asdf produces an error saying "No such
plugin". Without knowing which plugin it could be referring too, we'd
have to manually go through each plugin in `.tool-versions` to find the
culprit.
With this commit, we'll now also include the plugin name as part of the
messaging for easier debugging.
2018-04-30 12:49:40 -04:00
Andrew Thauer
d94e0223bf
Implement plugin hook to customize executable path
...
This feature allows the plugin to optionally change the executable path
of a shim prior to execution. This is useful when the plugin tool has
commands that may exist in multiple locations (like npm).
2018-04-25 22:18:34 -04:00
Trevor Brown
7774de9137
Merge pull request #311 from hlhr/master
...
List command without parameter lists all installed packages with versions
2018-04-18 11:16:52 -04:00
hlhr
e1a4ff244f
list command without parameter lists all packages with versions
2018-04-16 18:37:22 -04:00