个人Mac配置
正在加载今日诗词....2020-11-17
常用软件
- Mac 自动化软件: Keyboard Maestro (必备软件)
- Markdown 编辑器:Typora
- 云文件同步坚果云
- 代码编辑:Visual Studio Code
- 抓包软件:Charles
- 按键显示:keycastr
- 图片压缩:imageoptim
- Git 版本管理:SourceTree
- FTP:Filezila
- 数据库:Navicat
终端配置
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" or $ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
开启终端代理
开启终端代理
测试终端是否翻墙: curl www.google.com
vim ~/.zshrc
function proxy_on(){ export http_proxy="http://127.0.0.1:41091" export https_proxy="http://127.0.0.1:41091" export ALL_PROXY='socks5://127.0.0.1:1087' echo '*** 开始终端代理 ***' } function proxy_off(){ unset http_proxy unset https_proxy unset ALL_PROXY echo '*** 关闭终端代理 ***' }
source ~/.zshrc