Commit Graph

8 Commits

Author SHA1 Message Date
Edwin Kofler
720fd17200
chore: Fix ShellCheck errors in tests (#1451) 2023-01-25 00:15:23 +11:00
Edwin Kofler
b5e981cf1d
chore: Fix ShellCheck errors in tests (#1449) 2023-01-23 10:36:47 +11:00
Edwin Kofler
f522ab9879
fix: Remove usage of $(pwd) in favor of $PWD 2022-12-30 01:57:35 -08:00
Yuri Pereira Constante
24b46078e3
test: use resulting PATH on duplicated source tests (#1328)
* test: use actual result PATH for fish test

Fish uses space instead of colon for $PATH separator

* test: use actual result PATH for elvish and sh tests
2022-10-18 09:58:12 -04: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
Elijah
cc7778a040
feat: Elvish Shell support (#1066) 2021-11-18 21:05:27 +11:00
Trevor Brown
62015a750d Add test for not adding duplicate paths to PATH 2019-04-06 13:23:30 -04:00
Trevor Brown
13b3d14cac Add tests for code in asdf.sh 2019-04-06 12:43:39 -04:00