{"id":13484441,"url":"https://github.com/SukkaW/zsh-osx-autoproxy","last_synced_at":"2025-03-27T16:30:52.902Z","repository":{"id":50069519,"uuid":"317308702","full_name":"SukkaW/zsh-osx-autoproxy","owner":"SukkaW","description":"An oh-my-zsh plugin that configures proxy environment variables based on macOS's system preferences automatically","archived":false,"fork":false,"pushed_at":"2021-06-05T01:35:57.000Z","size":4,"stargazers_count":119,"open_issues_count":2,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-19T22:18:46.443Z","etag":null,"topics":["oh-my-zsh","oh-my-zsh-plugin","proxy-configuration","zsh","zsh-plugin"],"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/SukkaW.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}},"created_at":"2020-11-30T18:17:00.000Z","updated_at":"2025-03-08T08:03:00.000Z","dependencies_parsed_at":"2022-08-31T22:01:32.477Z","dependency_job_id":null,"html_url":"https://github.com/SukkaW/zsh-osx-autoproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukkaW%2Fzsh-osx-autoproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukkaW%2Fzsh-osx-autoproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukkaW%2Fzsh-osx-autoproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SukkaW%2Fzsh-osx-autoproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SukkaW","download_url":"https://codeload.github.com/SukkaW/zsh-osx-autoproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882284,"owners_count":20687860,"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":["oh-my-zsh","oh-my-zsh-plugin","proxy-configuration","zsh","zsh-plugin"],"created_at":"2024-07-31T17:01:24.463Z","updated_at":"2025-03-27T16:30:52.449Z","avatar_url":"https://github.com/SukkaW.png","language":"Shell","funding_links":[],"categories":["Shell","Plugins"],"sub_categories":["ZSH on Windows"],"readme":"# zsh-osx-autoproxy\n\n[![Author](https://img.shields.io/badge/Author-Sukka-b68469.svg?style=flat-square)](https://skk.moe)\n[![License](https://img.shields.io/github/license/sukkaw/zsh-osx-autoproxy.svg?style=flat-square)](./LICENSE)\n\n:nut_and_bolt: An [`oh-my-zsh`](https://ohmyz.sh/) plugin that configures proxy environment variables based on macOS's system preferences automatically.\n\n## Installation\n\n### oh-my-zsh\n\n1. Clone this repository into `$ZSH_CUSTOM/plugins` (by default `~/.oh-my-zsh/custom/plugins`)\n\n```bash\ngit clone https://github.com/sukkaw/zsh-osx-autoproxy ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-osx-autoproxy\n```\n\n2. Add the plugin to the list of plugins for oh-my-zsh to load (inside `~/.zshrc`):\n\n```\nplugins=(\n    [plugins\n     ...]\n    zsh-osx-autoproxy\n)\n```\n\n3. Start a new terminal session.\n\n### Antigen\n\n[Antigen](https://github.com/zsh-users/antigen) is a zsh plugin manager, and it support `oh-my-zsh` plugin as well. You only need to add `antigen bundle sukkaw/zsh-osx-autoproxy` to your `.zshrc` with your other bundle commands if you are using Antigen. Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with `antigen bundle sukkaw/zsh-osx-autoproxy` for testing before adding it to your `.zshrc`.\n\n## Usage\n\nAfter install the plugin and have proxy configured in `System Prefrences`, start a new terminal session and following environment variables will be set (if applicable):\n\n- `http_proxy`\n- `https_proxy`\n- `ftp_proxy`\n- `all_proxy`\n\n## Uninstallation\n\n**If you install `zsh-osx-autoproxy` with Antigen**, you need to remove `antigen bundle sukkaw/zsh-osx-autoproxy` to disable the plugin.\n**If you install `zsh-osx-autoproxy` with oh-myzsh**, you need to remove `zsh-osx-autoproxy` item from plugin array, then `rm -rf ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-osx-autoproxy` to remove the plugin.\n\n## Author\n\n**zsh-osx-autoproxy** © [Sukka](https://github.com/SukkaW), Released under the [MIT](./LICENSE) License.\u003cbr\u003e\nAuthored and maintained by Sukka with help from contributors ([list](https://github.com/SukkaW/zsh-osx-autoproxy/graphs/contributors)).\n\n\u003e [Personal Website](https://skk.moe) · [Blog](https://blog.skk.moe) · GitHub [@SukkaW](https://github.com/SukkaW) · Telegram Channel [@SukkaChannel](https://t.me/SukkaChannel) · Twitter [@isukkaw](https://twitter.com/isukkaw) · Keybase [@sukka](https://keybase.io/sukka)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSukkaW%2Fzsh-osx-autoproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSukkaW%2Fzsh-osx-autoproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSukkaW%2Fzsh-osx-autoproxy/lists"}