Commit Graph

703 Commits

Author SHA1 Message Date
Kenny Parnell
05161f2cf9
Update Bash Completions
- Add missing commands to completion
- Auto-completion for `plugin-add`. Only include plugins not included.
- Auto-completion for `update`
2018-01-22 23:46:47 -05:00
jthegedus
f99bdc75c0 add --urls flag for asdf list-plugins
Fixed tests due to use of printf
2018-01-14 19:38:00 +11:00
jthegedus
88d47bbd69 Fix asdf current - and it was at this point I realised 2018-01-14 17:49:29 +11:00
jthegedus
9e37613b86 add indicator if installed on asdf plugin-list-all 2018-01-14 17:08:21 +11:00
jthegedus
c48e117814 add escape for \n where necessary 2018-01-14 17:06:17 +11:00
jthegedus
4d2870dcd5 update test accounting for URL output 2018-01-14 15:50:49 +11:00
jthegedus
7b1cf56de0 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-01-14 14:37:48 +11:00
jthegedus
3dffa58909 Add asdf current to README and asdf -h. Closes #257
PS. sorry bu Prettier ran on save
2018-01-14 13:07:07 +11:00
Trevor Brown
0c3d299247
Merge pull request #271 from jthegedus/master
add to PATH once. Fixes #261
2018-01-13 10:36:01 -05:00
jthegedus
e2a98e1345 add to PATH once. Fixes #261 2018-01-14 00:42:55 +11:00
Trevor Brown
c838b99298
Merge pull request #270 from kendocode/update-readme-zsh
Add zsh compinit info to readme
2018-01-11 13:39:06 -05:00
kendocode
5fccd27e67 Add zsh compinit info to readme 2018-01-10 20:49:43 -06:00
Trevor Brown
df66739fe1 Ignore new shellcheck warnings in bash completions function. 2017-12-27 10:45:16 -05:00
Trevor Brown
e8819d43a4 Address warnings reported by new version of shellcheck. 2017-12-27 09:54:00 -05:00
Trevor Brown
afdb939444 Correct escaping in command in release.sh. 2017-12-26 12:16:25 -05:00
Trevor Brown
ecf35f83ea Correct escaping in command in release.sh. 2017-12-26 12:10:13 -05:00
Trevor Brown
6693a334e7 Fixed issue in release.sh that caused backup file to be left in project root. 2017-12-26 11:04:22 -05:00
Trevor Brown
12db51e483 Update version to 0.4.1 2017-12-26 11:01:30 -05:00
Trevor Brown
71bf4300b5 Update CHANGELOG.md in preparation for 0.4.1 release. 2017-12-26 11:01:08 -05:00
Trevor Brown
cf1833b211 Fix bug in release.sh that checked for changelog entry. 2017-12-26 10:56:57 -05:00
Trevor Brown
9fac6573cb Add a check to release.sh to make sure an entry in the changelog already exists for the new version. 2017-12-26 10:51: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
Trevor Brown
e91e453580
Merge pull request #251 from asdf-vm/banned-commands
Add test that greps source code for banned commands.
2017-10-28 11:02:03 -04:00
Trevor Brown
7601afd9b9 Add test that greps source code for banned commands. 2017-10-28 10:54:10 -04:00
Trevor Brown
6b2901b0d0
Add another bug fix to CHANGELOG 2017-10-27 14:48:13 -04:00
vic
28ef96df91
Update CHANGELOG.md 2017-10-27 11:51:47 -05:00
vic
85bebfaf0f
Merge pull request #250 from Jwashton/duplicate-shims
Duplicate shims
2017-10-27 11:50:11 -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
Daniel Perez
080c88d376 Revert "Fix edge case when looking for .asdf-version"
This reverts commit a44ec2779a.
2017-10-27 14:25:29 +09:00
William Ashton
dc3865c9fd Prevent sed from creating -e backup files. Fixes #242 2017-10-26 15:58:45 -04:00
Victor Borja
db54c6bad1 test reshim with install from tool-versions 2017-10-25 14:19:03 -05:00
Victor Borja
97312e2f26 Test reshim a second time 2017-10-25 14:14:19 -05:00
Victor Borja
7a15a88493 Test shims are not duplicated 2017-10-25 14:05:59 -05:00
Daniel Perez
a44ec2779a Fix edge case when looking for .asdf-version
cwd can potentially be a symlink, which breaks asdf logic.
The following command will fail to resolve the path correctly:

    env - PWD=/proc/self/cwd PATH=$HOME/.asdf/shims:/bin ruby --version

This first resolves the real path of cwd before continuing to search
for a .tool-versions file
2017-10-25 19:51:13 +09:00
Daniel Perez
7e5789adb7 Merge pull request #245 from rstacruz/patch-1
Readme: format install instructions better
2017-10-25 19:03:34 +09:00
Rico Sta. Cruz
4723ad3bf2 Merge branch 'master' into patch-1 2017-10-25 17:39:36 +08:00
vic
31030bfb11 Merge pull request #246 from lucascaton/patch-1
Rename OS X to macOS
2017-10-24 23:37:00 -05:00
Lucas Caton
78cedab51a Rename OS X to macOS 2017-10-25 13:03:03 +10:00
vic
00e7644464 Update CHANGELOG.md 2017-10-24 18:32:45 -05:00
vic
4bc7b4a9fc Merge pull request #243 from skirino/replace_hyphen_with_colon_in_ref_prefix_of_list_command_output
Replace `ref-` prefix in output of list command with `ref:`
2017-10-24 18:30:18 -05:00
Rico Sta. Cruz
160db6c04f Readme: format install instructions better 2017-10-24 16:33:20 +08:00
Trevor Brown
8946fbd3c3 Add documentation on uninstalling asdf. 2017-10-23 11:06:48 +03:00
Shunsuke Kirino
9ba0a5cc2d Replace ref- prefix in output of list command with ref: 2017-10-23 11:23:51 +09:00
vic
8a2fd85529 Update CHANGELOG.md 2017-10-18 02:25:53 -05: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