A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/xooooooooox/zsh-proxy below:

xooooooooox/zsh-proxy: About An oh-my-zsh plugin that configures proxy environment variables based on macOS's system preferences automatically

A zsh plugin for managing shell environment proxy settings.

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)
git clone https://github.com/xooooooooox/zsh-proxy ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-proxy
  1. Add the plugin to the list of plugins in your .zshrc file:

Add one of the following to your .zshrc file:

From GitCode:

zinit snippet 'https://raw.gitcode.com/xooooooooox/zsh-proxy/raw/main/zsh-proxy.plugin.zsh'

From GitHub:

zinit light xooooooooox/zsh-proxy

Add the following to your .zshrc file:

antigen bundle xooooooooox/zsh-proxy
  1. Clone this repository into your Prezto modules directory:
git clone https://github.com/xooooooooox/zsh-proxy ${ZDOTDIR:-~}/.zprezto/contrib/zsh-proxy
  1. Add the plugin to your .zpreztorc file:
zstyle ':prezto:load' pmodule \
  ... \
  'zsh-proxy' \
  ...
  1. Clone this repository somewhere on your machine:
git clone https://github.com/xooooooooox/zsh-proxy ~/.zsh/zsh-proxy
  1. Add the following to your .zshrc file:
source ~/.zsh/zsh-proxy/zsh-proxy.plugin.zsh
  1. Initialize the plugin configuration:
  1. Configure proxy settings:

This will prompt you to enter:

Command Description proxy Enable proxy settings noproxy Disable proxy settings lsproxy Display current proxy settings

The plugin manages the following environment variables:

To enable automatic proxy activation on shell startup, edit ${XDG_CONFIG_HOME-${HOME}}/zsh-proxy/auto:

# Disable auto proxy (default)
echo "0" >"${XDG_CONFIG_HOME-${HOME}}/zsh-proxy/auto"

# Enable auto proxy
echo "1" >"${XDG_CONFIG_HOME-${HOME}}/zsh-proxy/auto"

All configuration files are stored in ${XDG_CONFIG_HOME-${HOME}}/zsh-proxy/:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4