Skip to content

Instantly share code, notes, and snippets.

@neilwong2012
Last active September 12, 2018 03:37
Show Gist options
  • Save neilwong2012/033337128fc673a9958f330fa4874ff4 to your computer and use it in GitHub Desktop.
Save neilwong2012/033337128fc673a9958f330fa4874ff4 to your computer and use it in GitHub Desktop.
mac环境配置

配色方案 Solarized

item2命令提示 zsh-autosuggestions

item2语法高亮 brew install zsh-syntax-highlighting

item2 themes level9k

命令查询 tldr

安装播放器 brew cask install iina 安装hyper brew cask install hyper 安装nginx

brew install nginx
sudo chown root:wheel /usr/local/opt/nginx/bin/nginx
sudo chmod u+s /usr/local/opt/nginx/bin/nginx

配置代理

alias proxy="export ALL_PROXY=socks5://127.0.0.1:1086"
alias unproxy="unset ALL_PROXY"
alias ip="curl -i http://ip.cn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment