Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

ytet5uy4/pctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Proxy-Settingfiles

Screenshot

適用される範囲

  • apt-get
  • curl
  • git
  • wget
  • yum

準備

$ git clone https://github.com/tetsuya00/Proxy-Settingfiles.git ~/.proxy
$ git config --global include.path "~/.gitconfig.proxy"
$ alias pset="source ~/.proxy/pset.bash"

あとはpset.bash内のADRESS:PORTを書き換えれば準備完了です

使い方

プロキシを設定する時

$ pset -s

プロキシを解除する時

$ pset -u