#! /bin/bash host="$(cat /etc/resolv.conf |grep "nameserver" |cut -f 2 -d " ")"
export http_proxy="http://${host}:10809" export https_proxy="http://${host}:10809" export all_proxy="socks5://${host}:10808" $(git config --global http.proxy "socks5://${host}:10808") $(git config --global https.proxy "socks5://${host}:10808")
alias t="tmux"
|