All Projects → ytet5uy4 → Pctl

ytet5uy4 / Pctl

Licence: mit
zsh plugin for proxy

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Pctl

zhooks
Display Zsh hook functions and arrays
Stars: ✭ 36 (+500%)
Mutual labels:  zsh, zsh-plugin
ranger-autojump
The combined magic of autojump, ranger and zsh
Stars: ✭ 59 (+883.33%)
Mutual labels:  zsh, zsh-plugin
git-prompt.zsh
A fast, customizable, pure-shell, asynchronous Git prompt for Zsh
Stars: ✭ 139 (+2216.67%)
Mutual labels:  zsh, zsh-plugin
Zsh You Should Use
📎 ZSH plugin that reminds you to use existing aliases for commands you just typed
Stars: ✭ 659 (+10883.33%)
Mutual labels:  zsh, zsh-plugin
Zsh Better Npm Completion
Better completion for npm
Stars: ✭ 346 (+5666.67%)
Mutual labels:  zsh, zsh-plugin
zsh-ssh-agent
Ssh-agent management for zsh
Stars: ✭ 19 (+216.67%)
Mutual labels:  zsh, zsh-plugin
zsh-poetry
🐚 Simple ZSH plugin for automatically activating and deactivating Poetry-created virtualenvs. 🐍
Stars: ✭ 43 (+616.67%)
Mutual labels:  zsh, zsh-plugin
Zsh Vi Mode
💻 A better and friendly vi(vim) mode plugin for ZSH.
Stars: ✭ 181 (+2916.67%)
Mutual labels:  zsh, zsh-plugin
Dotbare
Manage dotfiles and any git directories interactively with fzf
Stars: ✭ 327 (+5350%)
Mutual labels:  zsh, zsh-plugin
History Search Multi Word
Multi-word, syntax highlighted history searching for Zsh
Stars: ✭ 314 (+5133.33%)
Mutual labels:  zsh, zsh-plugin
Fzf Tab
Replace zsh's default completion selection menu with fzf!
Stars: ✭ 761 (+12583.33%)
Mutual labels:  zsh, zsh-plugin
Zsh Z
Jump quickly to directories that you have visited "frecently." A native ZSH port of z.sh.
Stars: ✭ 562 (+9266.67%)
Mutual labels:  zsh, zsh-plugin
zsh-titles
Terminal/tmux titles based on current location and task
Stars: ✭ 46 (+666.67%)
Mutual labels:  zsh, zsh-plugin
aterminal
🎉 An oh-my-zsh plugin for show platform versions
Stars: ✭ 31 (+416.67%)
Mutual labels:  zsh, zsh-plugin
gitignore.plugin.zsh
ZSH plugin for creating .gitignore files.
Stars: ✭ 44 (+633.33%)
Mutual labels:  zsh, zsh-plugin
tipz
Gives you helpful hints when you execute a command for which you have an alias defined
Stars: ✭ 24 (+300%)
Mutual labels:  zsh, zsh-plugin
Quiver
Quiver is the tool to manage all of your tools for bug bounty hunting and penetration testing.
Stars: ✭ 140 (+2233.33%)
Mutual labels:  zsh, zsh-plugin
Z.lua
⚡ A new cd command that helps you navigate faster by learning your habits.
Stars: ✭ 2,164 (+35966.67%)
Mutual labels:  zsh, zsh-plugin
Zsh Apple Touchbar
Make your touchbar more powerful.
Stars: ✭ 261 (+4250%)
Mutual labels:  zsh, zsh-plugin
Fz
Cli shell plugin, the missing fuzzy tab completion feature of z jump around command.
Stars: ✭ 359 (+5883.33%)
Mutual labels:  zsh, zsh-plugin

pctl - zsh plugin for proxy

Overview | Installation | Configuration | License

license-badge release-badge

Overview

This is zsh plugin to toggle the environment variables of proxy.

screenshot

Installation

You can use zplug to install pctl. Add the following to your .zshrc:

zplug 'ytet5uy4/pctl'

Configuration

Add the following to your .zshenv:

export PCTL_PROXY_ADDRESS=proxy.example.com PCTL_PROXY_PORT=8080

or

If you have envchain installed, run following command:

$ envchain --set proxy PCTL_PROXY_ADDRESS PCTL_PROXY_PORT
proxy.PCTL_PROXY_ADDRESS: proxy.example.com
proxy.PCTL_PROXY_PORT: 8080

To keep the environment variables of proxy when using sudo, append the following to /etc/sudoers via sudo visudo:

Defaults env_keep += "http_proxy https_proxy"

License

Copyright (c) 2015 ytet5uy4

Released under the MIT License, see LICENSE.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].