搜狗输入法
打开隐藏文件
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
配置ssh
1 检查ssh key 是否存在
ls -al ~/.ssh
Lists the files in your .ssh directory, if they exist
2 如果key不存,生成key (文件地址和密码,不需要输入,回车到底)
ssh-keygen -t rsa -C "your_email@example.com"
安装brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
安装fvm
First, add homebrew's tap:
brew tap leoafarias/fvm
Once the tap has added, you can install fvm
brew install fvm
Copy the following content in to your .bashrc|.zshrc ... file
# flutter 镜像配置
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
# fvm
export FVM_DIR="$HOME/.fvm"
source "/usr/local/opt/fvm/init.sh"
#flutter dart
export PATH=$HOME/.fvm/current/bin:$PATH