需要的操作是把/bin/zsh 复制到/usr/local/bin/zsh
chsh -s /bin/zsh
chsh -s /bin/bash
3) 替换zshrc
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
repo: command not found。,可以用如下方法解决,在命令行中输入如下两行:
echo ‘export PATH=$PATH:$Home/bin‘ >>~/.bashrc
export PATH=$PATH:$HOME/bin
mkdir ~/bin PATH=~/bin:$PATH curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo ## 如果上述 URL 不可访问,可以用下面的: ## curl https://storage-googleapis.lug.ustc.edu.cn/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
时间: 2024-11-05 14:55:40