1. 程序塢到左邊,刪除不用
2. 觸控板
啟用觸摸板輕觸點(diǎn)擊
defaults write com.apple.AppleMultitouchTrackpad Clicking -int 1
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
開(kāi)啟三指拖動(dòng)
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool true
defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool true
3. 允許安裝所有源脊框,禁止App驗(yàn)證
sudo spctl --master-disable
defaults write com.apple.LaunchServices LSQuarantine -bool false
4. 搜狗輸入法 賬號(hào) 18721068846 密碼 老樣子
5. chrome 下載刹前,導(dǎo)出書(shū)簽为鳄;
6. oh my zsh 前提要裝 git 命令行工具
7. 顯示所有隱藏文件:
defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder
8. .zshrc 配置傳過(guò)去净宵;
alias gad="git add ."
alias gco="git commit -m "fix""
alias gpo="git push origin"
alias gst="git status"
alias moments="cd /Users/guohongwei719/Desktop/Moments_iOS"
alias mom="cd /Users/guohongwei719/Desktop/Moments_iOS"
alias mydemo="cd /Users/guohongwei719/Desktop/MyDemos"
alias example="cd /Users/guohongwei719/Desktop/Moments_iOS/JYMomentsModule/Example/"
alias exa="cd /Users/guohongwei719/Desktop/Moments_iOS/JYMomentsModule/Example/"
alias helloCode="/Users/guohongwei719/HelloCode"
alias hel="/Users/guohongwei719/HelloCode"
alias desktop="/Users/guohongwei719/Desktop"
alias des="/Users/guohongwei719/Desktop"
alias guo="/Users/guohongwei719"
alias home="/Users/guohongwei719"
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
alias opp="open -a Xcode.app /Users/guohongwei719/Desktop/Moments_iOS/JYMomentsModule/Example/HelloTrip.xcworkspace"
Flutter 鏡像配置
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
Flutter 配置
export FLUTTER=/Users/guohongwei719/flutter/bin
export PATH=PATH
安卓
export ANDROID_HOME=~/Library/Android/sdk
安卓模擬器路徑
export PATH={ANDROID_HOME}/emulator
安卓tools路徑
export PATH={ANDROID_HOME}/tools
安卓 平臺(tái)工具
export PATH={ANDROID_HOME}/platform-tools
Java
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/
9. SSH 密鑰配置: 注意是 RSA 加密方式
10. git 配置郵箱用戶(hù)名:
git config --global user.name "guohongwei719"
git config --global user.email guohongwei04441@hellobike.com
11. 安裝 homebrew,安裝了才能使用 brew 命令 安裝其他包拒炎。python cocopods 等
提示安裝不了就重啟電腦吧挪拟。
12. 安裝 python3
brew install python3
安裝完以后還要 配置 python 命令,默認(rèn) python3
alias python="/usr/local/bin/python3"
13. 安裝 Cocoapods
看一下之前用的什么版本击你,保持一致玉组。
14. 執(zhí)行腳本的時(shí)候讓輸入 gitlab 用戶(hù)名和密碼,就把登錄時(shí)候用的用戶(hù)名和密碼輸入就行了丁侄。
15. 運(yùn)行 flutter 項(xiàng)目的時(shí)候回提示 “Mac 無(wú)法打開(kāi) idevice_id”惯雳, 因?yàn)闊o(wú)法驗(yàn)證開(kāi)發(fā)者,因?yàn)槲业?flutter 是從上一個(gè)電腦直接復(fù)制過(guò)去的绒障。下載的話(huà)一個(gè)G,太大捍歪。
解決辦法:http://www.reibang.com/p/d55dc0e699db
16. 配郵箱
17. vpn 哈奇士
18. 登錄 wiki jira 用戶(hù)名不是郵箱户辱,@前面部分
19. flutter doctor 那里會(huì)報(bào)錯(cuò),說(shuō) pod 沒(méi)有 setup糙臼,Cocoapods 要更換源庐镐,如下
? ~ gem source -l
*** CURRENT SOURCES ***
? ~ gem sources --remove https://rubygems.org/
https://rubygems.org/ removed from sources
? ~ gem source -a https://gems.ruby-china.com/
https://gems.ruby-china.com/ added to sources
? ~ pod setup
20. 安裝 Go2Shell
http://www.reibang.com/p/bae3a64ea762
21. 禁止文字自動(dòng)更改
很多時(shí)候系統(tǒng)的自動(dòng)改正功能反而會(huì)幫倒忙,比如:
- 明明每行第一個(gè)字母我就是要小寫(xiě)变逃,結(jié)果自動(dòng)改成大寫(xiě)
- 有時(shí)候明明要輸入普通的引號(hào)必逆,' 或者",結(jié)果被自動(dòng)改成斜體的 “揽乱,導(dǎo)致各種解析錯(cuò)誤
- 有時(shí)候輸入兩個(gè)連字符(dash) -- 被自動(dòng)改成為長(zhǎng)的(emdash) —
這些自動(dòng)改正可以用以下命令來(lái)禁止:
defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write -g NSAutomaticDashSubstitutionEnabled -bool false
defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false
https://github.com/bestswifter/macbootstrap/blob/master/doc/system.md
22.office 安裝
http://www.reibang.com/p/8b486af99f9e