macos 安裝 Homebrew 與 iTerm2 及 oh-my-zsh 主題

macos 安裝 Homebrew

允許第三方來(lái)源的安裝
sudo spctl --master-disable

安裝 git
https://sourceforge.net/projects/git-osx-installer/

使用國(guó)內(nèi)鏡像站安裝 Homebrew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

安裝 iTerm2

brew install iterm2

安裝 oh-my-zsh 主題

export https_proxy="http://proxy-ip:proxy-port"
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

vim ~/.zshrc
plugins=(git osx autojump zsh-autosuggestions zsh-syntax-highlighting)

自動(dòng)提示插件

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

語(yǔ)法高亮插件

git clone git://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

其他一些命令和資源記錄

命令行查看macos版本
sw_vers

dash 版下載地址:
https://www.zhinin.com/dash-mac.html

參考

https://zhuanlan.zhihu.com/p/111014448
https://www.cnblogs.com/haojile/p/13193805.html
https://a1049145827.github.io/2019/05/15/Mac-%E7%8E%AF%E5%A2%83%E5%AE%89%E8%A3%85%E5%B9%B6%E9%85%8D%E7%BD%AE%E7%BB%88%E7%AB%AF%E7%A5%9E%E5%99%A8-oh-my-zsh/

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容