Commit Graph

27 Commits

Author SHA1 Message Date
Kimiaki Kuno
b9962f7156
fix: get invalid ASDF_DATA_DIR when exec asdf shims by non-shell (#1154)
* fix: get invalid ASDF_DATA_DIR when exec asdf shims by non-shell

asdf_data_dir function inits ASDF_DATA_DIR with HOME when value is empty.
HOME may replace to empty string when asdf shims called by non-shell program.
this makes invalid value of ASDF_DATA_DIR.
2022-06-08 12:54:53 -04:00
Trevor Brown
711ad99104
fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present (#1238)
* fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present
* fix: correct version command unit tests for ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

Fixes #1082
2022-05-27 07:50:04 -04:00
Bo Lopker
de6e22f909
fix: remove comments from whole file instead of line by line for performance (#1198) 2022-04-08 10:44:07 -04:00
David le Blanc
afd6224298 Fixed config file parsing to handle "=" in value field. 2022-01-27 11:20:08 -05:00
Trevor Brown
87137e4103
fix: Ban ls command (#1141)
* Ban `ls` command
* Update banned commands test so it only checks bash and sh files
* Only allow `ls` for resolving symlinks
* Replace `ls` commands with `find`
2021-12-29 12:10:39 -05:00
Trevor Brown
4b93bc81aa
fix: Sed improvements (#1087) 2021-11-15 19:03:53 +11:00
Chris Rose
41162849cf
fix: clarify the wording when no version is set (#1088)
Co-authored-by: Chris Rose <offline@offby1.net>
Co-authored-by: jthegedus <jthegedus@hey.com>
2021-11-14 14:35:42 +11:00
Yasunori Fujie
30d27cbe6b
fix: incorrect usage of grep (#1035) 2021-09-02 15:57:30 -04:00
James Hegedus
a3ba5a794c
feat: toggle off repo sync completely (#1011) 2021-08-04 08:41:19 +10:00
Trevor Brown
2ad0f5ea45
fix: allow plugin callbacks to be in any language (#995) 2021-07-30 08:44:14 +10:00
Mark Yen
39c9999519
fix: ensure shims get created when data dir has spaces (#996) 2021-07-20 14:21:39 +10:00
James Hegedus
60e0e05a9f
ci: automated release workflow (#987)
Co-authored-by: jthegedus <jthegedus@users.noreply.github.com>
2021-07-13 11:32:37 +10:00
Neo Hsu
1716afa021
feat: configurable plugin repo last check time (#957)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-06-02 14:22:27 +10:00
Trevor Brown
f125741fb5 Update code to use . instead of source 2021-05-21 12:03:06 -04:00
jthegedus
0c263ad700 fix: typo and refactor on top of master 2021-04-27 19:28:57 +10:00
jthegedus
6af66dc88c fix: shellcheck errors and typo 2021-04-27 18:04:28 +10:00
Trevor Brown
f633811577 Ban process substitution from asdf codebase 2021-02-05 11:28:27 -05:00
Trevor Brown
34593c1766 Fix resolution of relative symlinks
Fixes #366, #625
2020-10-08 10:17:01 -04:00
Trevor Brown
8bbefba072
chore: ban echo command (#806) 2020-09-22 08:27:52 +10:00
James Hegedus
e9c149ea21
fix: incorrect version output in asdf current (#746) 2020-08-29 09:09:22 +10:00
James Hegedus
a5c815b6d4
fix: print tool-versions file dir on shim error (#750) 2020-07-31 18:46:33 +10:00
James Hegedus
50feef2a77
fix: CI formatting use editorconfig (#751) 2020-06-30 09:16:35 +10:00
Alexandre ZANNI
f5c7dae331
fix: asdf shell command docs & help output (#737)
Co-authored-by: James Hegedus <james@jthegedus.com>
2020-06-13 10:43:52 +10:00
Trevor Brown
2a058af9eb
Merge branch 'master' into tb/keep-source 2020-05-08 10:21:59 -04:00
Pablo Lalloni
4ee4c1431c Default to empty version to avoid error on strict mode bash 2020-03-07 09:26:16 -03:00
Trevor Brown
91a2a1f7be Add get_download_path function 2020-03-06 18:54:33 -05:00
Trevor Brown
52cbf1165c Add .bash file extensions to files containing code executed by Bash 2020-03-02 12:48:05 -05:00