您当前的位置: 首页 >  centos

ITKEY_

暂无认证

  • 0浏览

    0关注

    732博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

CentOS Stream8安装oh my zsh

ITKEY_ 发布时间:2022-04-02 10:57:07 ,浏览量:0

安装所需要软件包
yum install -y zsh git
切换使用zsh

查 zsh位置

which zsh

一般位置/usr/bin/zsh

chsh -s /usr/bin/zsh

假如遇到如下报错:

[root@stream8]~# chsh -s /usr/bin/zsh
zsh: command not found: chsh

安装以下软件包可以解决。

yum install -y util-linux-user

这样就可以解决了。

[root@stream8]~# chsh -s /usr/bin/zsh
正在更改 root 的 shell。
shell 已更改。
安装oh my zsh

默认的是从官网安装会比较慢,我写了个脚本用于国内加速安装。

sh -c "$(curl -fsSL https://gitee.com/lxyoucan/tools/raw/master/common/ohmyzsh_itkey.sh)"

在这里插入图片描述 这样就可以完成oh my zsh 的安装工作了。

关注
打赏
1665243900
查看更多评论
立即登录/注册

微信扫码登录

0.0397s