Commit Graph

42 Commits

Author SHA1 Message Date
Edwin Kofler
86477ee8de
fix: assign default values to all internal variables (#1518) 2023-03-27 00:24:16 +00:00
Edwin Kofler
bbcbddcdd4
fix: Better handling with paths that include spaces (#1485) 2023-03-24 12:37:23 +00:00
Andrea Jemmett
9363fb2f72
fix: Nushell plugin list --urls (#1507) 2023-03-23 01:23:53 +00:00
Edwin Kofler
e0fd7a7be8
fix: enforce & use consistent function definitions (#1464) 2023-01-29 14:52:22 +11:00
Edwin Kofler
d81b81f9de
fix: Remove == inside [ (#1421)
* lint(checkstyle): Miscellaneous tweaks
* lint(checkstyle): Add 'no-double-equals' rule
* lint: Remove double equals from `[`
* chore: Remove final double equals

Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2023-01-14 08:18:44 -05:00
Edwin Kofler
670c96d1a6
fix: Allow path: versions to use ~ (#1403) 2023-01-06 07:08:48 -05:00
Trevor Brown
8aa060ade9
Merge branch 'master' into improve-pwd 2023-01-04 09:49:11 -05:00
Edwin Kofler
dd37b6f0c0
fix: Do not use pwd 2022-12-30 01:57:49 -08:00
Edwin Kofler
f522ab9879
fix: Remove usage of $(pwd) in favor of $PWD 2022-12-30 01:57:35 -08:00
James Hegedus
ea26947c0e
chore: bump dev deps (#1398)
* chore: bump dev deps
* chore: fix shellcheck warnings

Co-authored-by: Trevor Brown <admin@stratus3d.com>
2022-12-29 15:24:24 -05:00
Edwin Kofler
3492043241
fix: lint errors from scripts/checkstyle.py (#1385)
Co-authored-by: James Hegedus <jthegedus@hey.com>
2022-12-23 20:53:22 +11:00
Edwin Kofler
15faf93a0d
fix: Remove unecessary backslashes (#1384) 2022-12-20 15:54:00 -05:00
Edwin Kofler
ec972cbdf0
fix: Ban use of 'test' (#1383) 2022-12-19 08:08:38 -05:00
Josh Soref
eaf2215cb8
chore: Fix spelling (#1289)
chore: Fix spelling
2022-07-05 09:40:33 -04:00
Jonathan Beverly (jrbeverly)
18caea3eb7
feat: Disable short-name repository with config value (#1227)
Co-authored-by: jthegedus <jthegedus@hey.com>
2022-06-28 09:47:49 +10:00
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