Open wardenger opened 4 years ago
可以从 App Store 安装,如果不是IOS开发者,可以直接安装 Xcode command line tools
xcode-select --install
安装
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
添加环境变量
$ echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
验证
brew doctor
插件:zsh-autosuggestions
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
插件:zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
在 .zshrc 配置
plugins=(git colorize github jira vagrant virtualenv pip python brew osx zsh-syntax-highlighting zsh-autosuggestions)
command + shift + p
输入 > shell command
将下面这行添加到 .bash_profile
.bash_profile
alias t="open -a typora"
ssh-keygen -t rsa -C "your email address"
brew install git
git --version
git config --global user.name "Your Name Here" git config --global user.email "your_email@youremail.com"
nice
XCode
可以从 App Store 安装,如果不是IOS开发者,可以直接安装 Xcode command line tools
安装HomeBrew
安装
添加环境变量
验证
Iterm2,zsh
插件:zsh-autosuggestions
插件:zsh-syntax-highlighting
在 .zshrc 配置
命令行启动 vscode
command + shift + p
输入 > shell command
命令行启动 typora
将下面这行添加到
.bash_profile
生成密钥对
git