Trevor Brown
37046c7c64
Merge branch 'imefisto-master'
2022-05-09 08:09:52 -04:00
Ignacio El Kadre
91136234e9
fix: instead /tmp, use TMPDIR if defined
2022-05-09 08:09:27 -04:00
Trevor Brown
39909e01af
fix: add asdf to list of banned commands ( #1224 )
...
Ban recusive asdf calls as they are inefficient and may introduce bugs.
If you find yourself needing to invoke an `asdf` command from within
asdf code, please source the appropriate file and invoke the
corresponding function.
2022-05-06 09:21:06 -04:00
Josué Lobo
a9caa5bdff
fix: fixing bats ( #1215 )
...
docs/pt-br/contribute/core.md
2022-04-26 10:05:12 -04:00
Josué Lobo
068432f114
docs: updates portuguese translation in the documentation ( #1210 )
...
* docs: <getting started> translate missing snippets
* docs: translate missing snippets
* docs: translate plugins create article
* docs: translate documentation to contribute
* docs: translate contribute core
* docs: translate first-party-plugins
* docs: translate contribute/github-actiosn
2022-04-26 09:01:58 -04:00
Trevor Brown
27f7ef7852
fix: don't invoke asdf inside asdf commands ( #1208 )
...
* fix: don't invoke asdf inside asdf commands
Recursive calls have a number of disadvantages:
* Poorer performance since each invocation spawns and new process and re-executes all the code in bin/asdf
* Makes debugging more difficult
* More likely to introduce subtle bugs and the possibility for infinite loops
2022-04-25 08:45:19 -04:00
Dave Nicolson
713bcebaa7
docs: update version ( #1214 )
2022-04-25 08:18:21 -04:00
skwerlman
5a89563c0a
fix: update elvish to 0.18.0
...
* replace deprecated 'except' with 'catch'
2022-04-22 07:50:53 -04:00
Shane Liesegang
6fc4bb8fc6
fix: make fish shell setup match other shells ( #1209 )
...
The asdf.sh file only sets `ASDF_DIR` if it hasn't already been set. This change to the fish file has it do the same.
2022-04-21 09:40:43 -04:00
github-actions[bot]
77fd510bdc
chore: release 0.10.0 ( #1111 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-15 17:45:34 -04:00
Trevor Brown
448f750891
fix: local plugin in then clause too ( #1203 )
...
Co-authored-by: Kazuhiro NISHIYAMA <znz@users.noreply.github.com>
2022-04-14 11:10:17 -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
Samuel Bodin
7493f4099c
docs: remove github discussion reference ( #1175 )
...
* Update config.yml
* Update sidebar.js
* Update navbar.js
2022-03-02 08:46:37 -05:00
cherryblossom000
682b7a1d6d
fix(elvish): prepend asdf paths to $PATH
( #1174 )
...
* fix(elvish): prepend asdf paths to `$PATH`
* refactor(elvish): minor improvements
2022-02-28 08:58:18 -05:00
MichaelDimmitt
e0d27e6c3c
fix link going to http instead of https ( #1169 )
2022-02-14 11:27:59 -05:00
Trevor Brown
6996b63038
docs: remove github discussions link ( #1171 )
2022-02-14 11:20:52 -05:00
Bruno Roque
824550ed20
feat: upgrade elvish to 0.17.0 ( #1159 )
...
* feat: upgrade elvish to 0.17.0
* Remove || and fix array slice
* Update elvish config path
* Tests use new path
* Escape $ in bats
* Fix legacy assignment in test
2022-02-11 17:19:55 -05:00
Trevor Brown
2a538fe631
Merge branch 'systemmonkey42-issue_1120'
2022-01-27 11:20:46 -05:00
David le Blanc
b2b71e6402
Added test for handling config file values containing "=" in their text
2022-01-27 11:20:08 -05:00
David le Blanc
afd6224298
Fixed config file parsing to handle "=" in value field.
2022-01-27 11:20:08 -05:00
Shengzhou Li
06d469ec4a
docs(website): add simplifed chinese ( #1166 )
...
* docs(website): add simplifed chinese
* docs: format some documentations
2022-01-27 08:02:24 -05:00
Joe Horsnell
b7dd291c98
fix: Prevent unbound variable error with nounset in asdf.sh ( #1158 )
...
`asdf` [v0.9.0][1] included a [bug fix][2] to not override an existing ASDF_DIR.
However, if `ASDF_DIR` is not set at all, then this causes an error when using bash `set -u`, or
`set -o nounset` - see [here][3] for additional info.
[1]: https://github.com/asdf-vm/asdf/releases/tag/v0.9.0
[2]: https://github.com/asdf-vm/asdf/pull/1008
[3]: https://mywiki.wooledge.org/BashFAQ/112
2022-01-19 17:00:53 -05:00
Trevor Brown
853eede94e
docs: correct tag in getting-started.md ( #1151 )
2022-01-05 10:54:06 -05:00
Greg Myers
d52cd52004
docs: update git/bash install docs to use 0.9.1 ( #1140 )
...
Branch 0.8.1 no longer exists, leading to detached head upon checkout
2022-01-05 09:43:23 -05:00
Stephan Kämper
5f287efddc
docs: Fix help text for 'asdf global' ( #1150 )
...
* docs: Fix help text for 'asdf global'
Signed-off-by: Stephan Kämper <the.tester@seasidetesting.com>
2022-01-04 14:09:27 -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
Jochen Schalanda
e61e3d9ade
feat: case-insensitive filtering of unstable versions in latest
( #1139 )
...
* feat: case-insensitive filtering of unstable versions in `latest`
* Fix versions in version_commands tests
2021-12-29 08:50:06 -05:00
Yves Blusseau
288468f93f
fix: don't generate on error if backup file doesn't exists ( #1057 )
...
Signed-off-by: JrCs <90z7oey02@sneakemail.com>
2021-12-23 11:43:41 -05:00
Trevor Brown
6bb07b6d36
docs: Document the latest-stable callback plugin creation docs ( #1132 )
...
Fixes #1110
2021-12-20 10:18:33 -05:00
Alberto de Murga
aafe1e5304
fix: latest --all correctly report plugins as missing ( #1118 )
2021-12-09 16:49:24 +11:00
Trevor Brown
6e4c39c244
fix: ban grep long flags ( #1117 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-12-09 13:17:49 +11:00
Kerollos Magdy
8e6f0cc370
docs: remove the usage of sudo ( #1116 )
2021-12-07 12:39:34 -05:00
Max Strübing
ac2791e49f
fix: newline after error msg for ASDF_DIR ( #1113 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-12-06 21:22:30 +11:00
Alberto de Murga
f85fef533f
feat(latest): adds the flag --all to the latest command ( #1096 )
2021-12-05 23:41:27 +11:00
nozaq
5992abb09e
fix: do not print find
errors ( #1102 )
2021-12-05 19:21:57 +11:00
Jonas Thuresson
234778a397
fix: shorthand grep options for alpine support ( #1106 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-12-05 18:40:19 +11:00
James Hegedus
ffb188ed1c
docs: fix bug report info instructions ( #1107 )
2021-12-05 18:24:36 +11:00
github-actions[bot]
9ee24a3a75
chore: release 0.9.0 ( #994 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-03 10:37:12 -05:00
Elijah
cc7778a040
feat: Elvish Shell support ( #1066 )
2021-11-18 21:05:27 +11: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
kenny-evitt
ca77d42758
docs: Mention comments for .tool-versions
files ( #1092 )
...
Closes #1091
2021-11-12 16:25:20 -05:00
Radon Rosborough
c911f2d431
fix: Fix plugin-test arg parsing ( #1084 )
2021-11-08 09:40:53 +11:00
Trevor Brown
4321980c33
fix: Correct typo on getting started page ( #1086 )
...
Co-authored-by: Khalid J Hosein <kjhosein@gmail.com>
2021-11-05 10:55:49 -04:00
Eric Nielsen
73efc9fa97
fix: don't override existing ASDF_DIR ( #1008 )
2021-11-03 09:47:43 +11:00
Radon Rosborough
69ff2d0c9a
fix: Quote commands correctly in plugin-test ( #1078 )
...
* fix: Quote commands correctly in plugin-test
* make it posix compliant
* default to $SHELL
2021-11-02 09:48:26 -04:00
Kosmas Chatzimichalis
d566a36433
docs: fix spelling mistake ( #1072 )
2021-10-18 13:38:10 -04:00
Rafael Camargo
ba04906fdd
docs: getting started translated pt-br ( #1019 )
2021-10-14 10:09:41 +11:00
Max Nordlund
847ec73751
fix: Use more idiomatic fish ( #1042 )
...
The use of `.` is deprecated in fish, unlike POSIX shells. We can avoid
calling `psub` and pipe directly into source which does the same thing.
https://fishshell.com/docs/current/cmds/source.html
2021-10-07 09:20:41 -04:00
Alberto de Murga
8a515f49d7
fix: Adds "grep -P" to the list of banned commands ( #1064 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2021-10-07 09:58:42 +11:00