Trevor Brown
0f48c1861b
Remove unnecessary regex from replacement string in regex command.
2018-02-11 15:12:31 -05:00
jthegedus
8374c227fc
add --urls
flag for asdf list-plugins
...
Fixed tests due to use of printf
2018-02-11 15:04:06 -05:00
jthegedus
afac39f1fd
Fix asdf current
- and it was at this point I realised
2018-02-11 15:04:06 -05:00
jthegedus
b738413949
add indicator if installed on asdf plugin-list-all
2018-02-11 15:04:06 -05:00
jthegedus
c6bc978c26
add escape for \n where necessary
2018-02-11 15:04:06 -05:00
jthegedus
5d523a5b50
Add print repo URLs with asdf plugin-list
and adsf plugin-list-all
...
* Use printf for formatting
* Add error when plugin index at /asdf_dir/repository/plugins is not found
* add example of output to README
2018-02-11 15:04:06 -05:00
Trevor Brown
ee082dc6ee
Address warnings reported by new version of shellcheck.
2018-02-11 15:04:05 -05:00
Mark Villacampa
025bd995d5
add two more cases where we need to specify bening and end of line in the .tool-versions to properly identify plugin names
2017-12-16 02:05:52 +01:00
Mark Villacampa
77ce346578
grep for plugin_name from begining of line
2017-12-15 22:36:24 +01:00
Trevor Brown
8794210b8e
Add 'eval' to list of banned commands.
2017-11-16 22:43:52 -05:00
William Ashton
43fd8c978d
Tell sed to create backup files, and the remove them
...
This seems like the easiest way forward, considering the incompatability between the LInux and MacOS versions of sed.
2017-10-27 10:27:27 -04:00
William Ashton
dc3865c9fd
Prevent sed from creating -e backup files. Fixes #242
2017-10-26 15:58:45 -04:00
Shunsuke Kirino
9ba0a5cc2d
Replace ref-
prefix in output of list command with ref:
2017-10-23 11:23:51 +09:00
Daniel Perez
e2094db465
Merge pull request #237 from DustinChaloupka/install-parent-tool-versions
...
Add installing from a parent directory's .tool-versions
2017-10-17 23:28:37 +09:00
Trevor Brown
2171f48f0f
Merge pull request #231 from hugopeixoto/use-origin-when-updating-tags
...
Use origin when updating tags
2017-10-14 17:23:16 +03:00
DustinChaloupka
320835ba7e
Declare and assign variable separately
2017-10-10 13:31:15 -05:00
DustinChaloupka
05a7446619
Add installing from a parent directory's .tool-versions
2017-10-10 12:02:42 -05:00
Jonathan Knapp
85550c8c0c
Remove extra, unnecessary quoting
2017-10-02 09:51:07 -04:00
Jonathan Knapp
20b70bccc7
Remove shebangs from lib files and pass bash dialect to shellcheck
2017-10-01 11:34:35 -04:00
Jonathan Knapp
33d7d9c26c
Merge remote-tracking branch 'source/master' into origin/shellcheck
2017-10-01 09:15:22 -04:00
Hugo Peixoto
9e97bc5e61
Use origin when updating tags
2017-09-25 14:13:35 +01:00
Trevor Brown
84ad80f575
Add mechanism to disable the update command since it will not work when asdf is installed via brew.
2017-09-12 18:48:00 -04:00
Trevor Brown
4da62b16c8
Move hardcoded version to VERSION file in repo root.
2017-09-12 18:48:00 -04:00
Trevor Brown
663ebb9a2f
Move asdf_repository_url function to top of utils.sh.
2017-09-06 21:37:08 -04:00
Victor Borja
8b40b30dec
let bin/asdf expand args into command functions
2017-09-04 12:49:38 -05:00
Victor Borja
e814d58da3
Shellcheck all commands
2017-09-04 12:04:56 -05:00
Jonathan Knapp
9d6ddb71d5
Fix linter errors
2017-09-04 10:12:45 -04:00
Jonathan Knapp
f75e988363
Fix another linter error that did not trigger on osx
2017-09-04 10:11:06 -04:00
Jonathan Knapp
91d52b99cb
Run shellcheck on lib/utils.sh
2017-09-04 10:11:06 -04:00
Jonathan Knapp
808a8d48b7
Fix many shellcheck issues; ignore a few others
2017-09-04 10:09:47 -04:00
Victor Borja
e74c472829
Test current command with no installed version
2017-09-03 22:20:35 -05:00
vic
779e757b56
Merge pull request #212 from asdf-vm/asdf-plugin-version
...
Add asdf-plugin-version metadata to shims
2017-09-03 20:26:27 -05:00
Victor Borja
5398d8949c
Fix sed invocations for OSX
2017-09-03 20:23:06 -05:00
Victor Borja
f23b448c0c
Merge remote-tracking branch 'origin/master' into asdf-plugin-version
2017-09-03 20:01:27 -05:00
vic
28d7921777
Merge pull request #221 from asdf-vm/plugin-list-all
...
Add plugin-list-all command
2017-09-03 20:00:02 -05:00
AJ Foster
e3e247752c
Allow spaces in .tool_versions file path
...
This helps to address (though may not completely fix) issue #202 .
2017-09-02 23:05:40 -04:00
Daniel Perez
b9fae70c0d
Add plugin-list-all command
2017-08-25 11:29:23 +09:00
Daniel Perez
8af4b3377c
List all installed plugins when no argument is passed to current
2017-08-19 13:56:28 +09:00
Daniel Perez
4a9d268710
Fix regression in install command
2017-07-30 20:15:21 +02:00
Daniel Perez
1499bda7b3
Trap sigint when installing plugins, fix #214
2017-07-30 20:02:19 +02:00
Victor Hugo Borja
242d132afb
Find correct installation path for ref: versions
...
Noticed we had some duplicated logic for finding the
plugins installation path. This caused the bug described
by #213 where the installation command and the find_executable_path
were using different paths.
Fixes #213
2017-07-29 12:47:21 -05:00
Daniel Perez
5a270d4cb4
Add asdf-plugin-version metadata to shims
...
This adds `asdf-plugin-version` to all generated shims.
This metadata is used to remove the shim when necessary.
2017-07-27 01:26:38 +02:00
Daniel Perez
78fbbaf584
Merge pull request #183 from doughsay/master
...
Use a git repository for installing plugins.
2017-07-26 18:49:15 +02:00
Chris Dosé
a0e5573960
Update plugins repo url.
2017-07-26 09:20:05 -07:00
Fernando
1e9166e9bc
Merge branch 'master' into which_command
2017-05-15 15:40:42 -03:00
Daniel Perez
82f399c6b3
Merge pull request #164 from ypid/docs_improvements
...
Docs improvements
2017-05-15 11:17:25 +09:00
Chris Dosé
5255f0e664
a little too zealous on the shellcheck warnings.
2017-04-19 20:40:06 -07:00
Chris Dosé
f399254219
code review feedback: fix all shellcheck warnings.
2017-04-19 20:37:03 -07:00
Chris Dosé
96c24e9255
code review feedback: git reset instead of git pull
2017-04-19 20:26:33 -07:00
William Ashton
baad7dd6d4
Query git for the current tag
...
Fixes #189
2017-04-15 22:50:43 -04:00