手动更新zsh
偶爾zsh會提示你更新
[oh-my-zsh] Would you like to update? [Y/n] Y
 fatal: not in a git directory
 fatal: not in a git directory
 fatal: not in a git directory
 fatal: not in a git directory
 fatal: not in a git directory
 fatal: not in a git directory
這種情況是因為刪除了.git文件夾,我們進行恢復:
cd ~/.oh-my-zsh
 git init # you've already done this step, so you can skip
 git remote add origin https://github.com/robbyrussell/oh-my-zsh.git
 git fetch
 git reset --hard origin/master
手動更新命令:
upgrade_oh_my_zsh
總結
 
                            
                        - 上一篇: 哪种信用卡最好申请 信用卡最好申请的银行
- 下一篇: 股票出现双针探底什么意思?
