Skip to content

Instantly share code, notes, and snippets.

@WeZZard
Created August 20, 2021 04:54
Show Gist options
  • Save WeZZard/64f8d38ed2bfd2c1a4402864b80844bd to your computer and use it in GitHub Desktop.
Save WeZZard/64f8d38ed2bfd2c1a4402864b80844bd to your computer and use it in GitHub Desktop.
zshrc
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="avit"
CASE_SENSITIVE="true"
plugins=(git sudo)
source $ZSH/oh-my-zsh.sh
# Surge
export https_proxy=http://127.0.0.1:6152
export http_proxy=http://127.0.0.1:6152
export all_proxy=socks5://127.0.0.1:6153
export HTTPS_PROXY=http://127.0.0.1:6152
export HTTP_PROXY=http://127.0.0.1:6152
export ALL_PROXY=socks5://127.0.0.1:6153
# gitignore.io
function gi() { curl -sLw n https://www.toptal.com/developers/gitignore/api/$@ ;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment