Tidy up the .envrc file a little.

* Improve the error messages.
* Use Bash syntax rather than sh syntax where possible.
* Fix shellcheck warnings.
* Return early to reduce indentation.
* Use the `use` function.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5868
GitOrigin-RevId: 78d76a6eba5beccabb18c39a9b16ef59b936bacb
This commit is contained in:
Samir Talwar 2022-09-14 22:38:57 +02:00 committed by hasura-bot
parent 2736ee27b9
commit f1ff3ceb76

View File

@ -7,7 +7,7 @@
# use flake # use flake
# Enable providing NodeJS versions with `nvm` # Enable providing NodeJS versions with `nvm`
# use_nvm # use nvm
# Enable providing GHC versions with `ghcup` # Enable providing GHC versions with `ghcup`
# use_ghcup # use ghcup