{"id":15663206,"url":"https://github.com/excid3/asdf-vars","last_synced_at":"2025-05-06T10:14:31.344Z","repository":{"id":66976002,"uuid":"151178033","full_name":"excid3/asdf-vars","owner":"excid3","description":"An asdf extension that safely sets global and per-project environment variables, based upon rbenv","archived":false,"fork":false,"pushed_at":"2023-12-28T14:37:36.000Z","size":9,"stargazers_count":19,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T01:23:25.926Z","etag":null,"topics":["asdf","asdf-plugin","asdf-vars","rbenv-vars"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/excid3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-02T00:11:28.000Z","updated_at":"2025-03-24T05:24:36.000Z","dependencies_parsed_at":"2024-12-06T06:52:22.275Z","dependency_job_id":"a93ba0ef-dc3a-47fd-96d6-78be7b11c9e3","html_url":"https://github.com/excid3/asdf-vars","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"f8bb667d6e3d11bcbb64f148b9a9e72f5cf636e9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excid3%2Fasdf-vars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excid3%2Fasdf-vars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excid3%2Fasdf-vars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/excid3%2Fasdf-vars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/excid3","download_url":"https://codeload.github.com/excid3/asdf-vars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252663605,"owners_count":21784788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asdf","asdf-plugin","asdf-vars","rbenv-vars"],"created_at":"2024-10-03T13:35:52.672Z","updated_at":"2025-05-06T10:14:31.315Z","avatar_url":"https://github.com/excid3.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asdf-vars\nAn asdf extension that safely sets global and per-project environment variables, based upon rbenv\n\nThis is basically a port of the [rbenv-vars plugin](https://github.com/rbenv/rbenv-vars/).\n\n# Install\n\nMake sure you already have [asdf](https://github.com/asdf-vm/asdf#setup) installed before following these steps.\n\n```bash\nasdf plugin add vars https://github.com/excid3/asdf-vars\n```\n\nAdd the following to `~/.asdf/lib/commands/command-exec.bash` before it executes the shim.\n\n```bash\neval \"$($ASDF_DIR/bin/asdf vars)\"\nwith_shim_executable \"$shim_name\" exec_shim || exit $?\n```\n\n# Usage\n\nDefine environment variables in an `.asdf-vars` file in your project,\none variable per line, in the format `VAR=value`. For example:\n\n    RUBY_GC_MALLOC_LIMIT=50000000\n    RUBY_HEAP_MIN_SLOTS=15000\n    RUBY_FREE_MIN=4096\n\nYou can perform variable substitution with the traditional `$`\nsyntax. For example, to append to `GEM_PATH`:\n\n    GEM_PATH=$GEM_PATH:/u/shared/gems\n\nSpaces are allowed in values; quoting is not necessary. Expansion and\ncommand substitution are not allowed. Lines beginning with `#` or any\nlines not in the format VAR=value will be ignored.\n\nVariables specified in the `~/.asdf/vars` file will be set\nfirst. Then variables specified in `.asdf-vars` files in any parent\ndirectories of the current directory will be set. Variables from the\n`.asdf-vars` file in the current directory are set last.\n\n# Author\n\n* [Chris Oliver](https://github.com/excid3)\n\n# License\n\n© 2018-2020 Chris Oliver. Released under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcid3%2Fasdf-vars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexcid3%2Fasdf-vars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcid3%2Fasdf-vars/lists"}