oh-my-zsh
oh-my-zsh是为了简化zsh的配置而开发的,因此oh-my-zsh也算是zsh的配置
(1)安装curl
sudo apt install curl

(2)安装Git
因为oh-my-zsh的资源是需要从GitHub上下载的,所以这里需要安装Git
sudo apt install git
(3)安装oh-my-zsh
先修改 hosts
sudo gedit /etc/hosts
添加以下内容
199.232.68.133 raw.githubusercontent.com
用curl安装oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
出现下图画面则安装成功

语法高亮插件zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
source ~/.zshrc
Original: https://blog.csdn.net/m0_49579642/article/details/122444321
Author: 我的天空_cz
Title: 机器人操作系统–ROS系统安装配置详细教程及实践
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/559328/
转载文章受原作者版权保护。转载请注明原作者出处!