Commit Graph

4 Commits

Author SHA1 Message Date
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