{"id":31812914,"url":"https://github.com/tslmy/qevs","last_synced_at":"2026-05-06T00:38:29.715Z","repository":{"id":37938710,"uuid":"499895250","full_name":"tslmy/qevs","owner":"tslmy","description":"Quick Environment Variable Switcher","archived":false,"fork":false,"pushed_at":"2025-08-11T20:47:34.000Z","size":17,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-11T22:19:38.812Z","etag":null,"topics":["bash","environment-variables","helper","shell","utility","zsh"],"latest_commit_sha":null,"homepage":"","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/tslmy.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,"zenodo":null}},"created_at":"2022-06-04T17:37:05.000Z","updated_at":"2024-04-21T17:58:20.000Z","dependencies_parsed_at":"2024-04-08T23:25:53.006Z","dependency_job_id":"bf61569b-8783-444b-9fad-b0e5fc2a2420","html_url":"https://github.com/tslmy/qevs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tslmy/qevs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tslmy%2Fqevs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tslmy%2Fqevs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tslmy%2Fqevs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tslmy%2Fqevs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tslmy","download_url":"https://codeload.github.com/tslmy/qevs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tslmy%2Fqevs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006630,"owners_count":26084132,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","environment-variables","helper","shell","utility","zsh"],"created_at":"2025-10-11T07:45:08.356Z","updated_at":"2025-10-11T07:45:11.707Z","avatar_url":"https://github.com/tslmy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick Environment Variable Switcher (Qevs)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n\nProvides a quick way to switch between values for environment variables.\n\nDemo:\n\n[![asciicast](https://asciinema.org/a/bB5VxAi6AvqyBZ9ixFm4K7Nmo.svg)](https://asciinema.org/a/bB5VxAi6AvqyBZ9ixFm4K7Nmo)\n\n## Usage\n\nIn the directory where you prepared the `_qevs/*_options.txt` files, run `qs`.\n\nYou can type to filter for the desired option (with fuzzy matching) or click on a choice with your mouse.\nIf you need to set a new value that is absent in the options provided, simply enter it, and Qevs will remember it for the next time.\n\nTo unset an environment variable, just hit `esc`.\n\n## Setup\n\n1. Install `fzf`.\n2. For each environment variable `X` that you want to switch values, create a file named `_qevs/X_options.txt`, where each line is a possible value for this variable.\n\n### For bash, zsh, etc.\nRun these lines:\n```shell\ncurl https://raw.githubusercontent.com/tslmy/qevs/main/qevs.sh --output ~/bin/qevs.sh \u0026\u0026 chmod +x ~/bin/qevs.sh\necho 'alias qs=\"~/bin/qevs.sh \u0026\u0026 source /tmp/choices.sh \u0026\u0026 rm /tmp/choices.sh\"' \u003e\u003e ~/.profile\n```\n\n### For fish\nRun these lines:\n```shell\ncurl https://raw.githubusercontent.com/tslmy/qevs/main/qevs.fish --output ~/.config/fish/functions/qs.fish\n```\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftslmy%2Fqevs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftslmy%2Fqevs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftslmy%2Fqevs/lists"}