{"id":15387313,"url":"https://github.com/rhysd/zsh-bundle-exec","last_synced_at":"2025-07-28T02:08:02.827Z","repository":{"id":11641695,"uuid":"14145990","full_name":"rhysd/zsh-bundle-exec","owner":"rhysd","description":"No longer need to type in 'bundle exec'.","archived":false,"fork":false,"pushed_at":"2014-01-23T03:50:40.000Z","size":250,"stargazers_count":18,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T20:01:44.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhysd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-05T15:54:58.000Z","updated_at":"2025-02-06T14:48:39.000Z","dependencies_parsed_at":"2022-08-30T05:12:46.603Z","dependency_job_id":null,"html_url":"https://github.com/rhysd/zsh-bundle-exec","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rhysd/zsh-bundle-exec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fzsh-bundle-exec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fzsh-bundle-exec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fzsh-bundle-exec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fzsh-bundle-exec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd","download_url":"https://codeload.github.com/rhysd/zsh-bundle-exec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fzsh-bundle-exec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451489,"owners_count":24089312,"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-07-28T02:00:09.689Z","response_time":68,"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":[],"created_at":"2024-10-01T14:53:37.037Z","updated_at":"2025-07-28T02:08:02.799Z","avatar_url":"https://github.com/rhysd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Never Type in `bundle exec`\n========================\n\nThis is a [zsh](https://github.com/zsh-users/zsh) plugin to insert `bundle exec` and expand aliases automatically.  It detects Gemfile, expand an alias, check the command and insert `bundle exec` nicely.\n\n![screenshot](http://gifzo.net/BAUT7u7dr0U.gif)\n\n\n## How to Install and Setup\n\nClone this repository and write below line to your `zshenv`.\n\n```\nsource path/to/zsh-bundle-exec.zsh\n```\n\nThis plugin attempt to overwrite `^M` and `^J` binding.  If you already use `^M` or `^J` for other binding, this plugin doesn't overwrite it.  In the case, you should call `zbe-bundle-exec-accept-line` in the binding.\n\n\n## Customization\n\nYou can customize behavior of this plugin with environment variables.\n\n### `$BUNDLE_EXEC_GEMFILE_CURRENT_DIR_ONLY`\n\nIf `$BUNDLE_EXEC_GEMFILE_CURRENT_DIR_ONLY` is not empty, `bundle exec` is inserted automatically if and only if `Gemfile` exists in the current directory.\n\n```sh\nexport BUNDLE_EXEC_GEMFILE_CURRENT_DIR_ONLY=yes\n```\n\n### `$BUNDLE_EXEC_COMMANDS`\n\nIf `$BUNDLE_EXEC_COMMANDS` is not empty, `bundle exec` is inserted automatically if and only if the command is included in the variable.\nValue of the variable must be space-separated string like below.\n\n```sh\nexport BUNDLE_EXEC_COMMANDS='rails rake rspec'\n```\n\n### `$BUNDLE_EXEC_EXPAND_ALIASE`\n\nIf `$BUNDLE_EXEC_EXPAND_ALIASE` is not empty, zsh-bundle-exec expands the command to an absolute path instead of inserting `bundle exec`.\nIt makes command execution faster because `bundle` command is not used.  However, it makes command history dirty.\n\n```sh\nexport BUNDLE_EXEC_EXPAND_ALIASE=yes\n```\n\n### `$BUNDLE_EXEC_RUBY_COMMAND`\n\nIf `$BUNDLE_EXEC_RUBY_COMMAND` is not empty, zsh-bundle-exec uses the value as Ruby command.\nOtherwise, zsh-bundle-exec uses `'ruby'` as its value.\n\n```sh\nexport BUNDLE_EXEC_RUBY_COMMAND=/usr/local/bin/ruby20\n```\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2013 rhysd\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fzsh-bundle-exec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhysd%2Fzsh-bundle-exec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fzsh-bundle-exec/lists"}