Commit Graph

12 Commits

Author SHA1 Message Date
Jonathan Knapp
20b70bccc7
Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
Victor Borja
e814d58da3 Shellcheck all commands 2017-09-04 12:04:56 -05:00
Jonathan Knapp
808a8d48b7
Fix many shellcheck issues; ignore a few others 2017-09-04 10:09:47 -04: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
Victor Borja
d1f0b64c2f Remove shims on uninstall or plugin-remove
- Remove plugin shims when last version is uninstalled.
- Remove shims on plugin-remove

When the latest version of a tool is uninstalled,
Remove the plugin shims (marked with metadata at #122)

Also found lots of missing tests and added them.

Closes #67
2016-12-15 06:05:23 -06: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 J
00fa189b6e Rename package_name var to plugin_name everywhere 2015-05-27 12:16:17 +05:30
Akash Manohar J
1d9fe07a11 Adhere to new & stable plugin API 2015-05-22 10:47:44 +05:30
Akash Manohar J
2bb9fa036d Simplify tag/commit to ref 2015-05-22 10:17:27 +05:30
Akash Manohar J
d687a86ab6 Simplify vocabulary 2015-05-17 23:50:51 +05:30
Akash Manohar J
78c2c9b3fc if [ condition ]; then 2015-05-17 16:17:45 +05:30
Akash Manohar J
44ef58def1 Move around commands dir 2015-05-17 14:01:55 +05:30