macOS上更顺手的终端

Host github.com
    User git
    Hostname github.com
    Port 22
    Proxycommand nc -X 5 -x 127.0.0.1:6153 %h %p
  • 使用ssh git@github.com验证设置是否正确以及代理是否正常工作。
  • 设置git@http和git@https的代理,执行一下命令。
git config --global http.proxy "socks5://127.0.0.1:6153"
git config --global https.proxy "socks5://127.0.0.1:6153"
  • 安装Homebrew。安装命令 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 安装Oh My Zsh。安装命令 sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • 安装zplug。安装命令 curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
  • 安装dein.vim给nvim。安装命令curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh; sh ./installer.sh /.local/share/dein
  • 安装autojump。安装命令brew install autojump,再将[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh || echo "Failed to load the >> autojump <<"添加到.zshrc
  • 安装fzf。安装命令brew install fzf; $(brew --prefix)/opt/fzf/install
原文地址:https://www.cnblogs.com/zhuxiaoxi/p/11639840.html