git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k vim/root/.zshrc 修改主题配置为powerlevel10kZSH_THEME="powerlevel10k/powerlevel10k” 5、接下来p10k configure,自定义你的p10k主题样式 当然你也可输入p10k configure 重新配置自定义样式 代码语言:javascript 代码运行...
设置shell为zsh,安装oh-my-zsh,安装所需字体NerdFont,设置终端字体为NerdFont,安装p10k(powerlevel10k)主题,配置p10k主题,这里不做展示,自行参考网上的教程即可。以MacOS为例,直接打开/Users/13f目录下的.p10k.zsh文件(这里我的用户名是13f,需要换成你自己的用户名),检索”command_”找到对应参数,修...
参考来源:终端工具oh-my-zsh与p10k国内镜像安装 git clone https://gitee.com/yuhldr/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && git clone https://gitee.com/yuhldr/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-aut...
oh_my_zsh(插件)。详细配置见旧文 zsh-autosuggestions zsh-syntax-highlighting autojump p10k(主题) 基础效果如下:满足错误命令检测、目录/命令自动提示、模糊跳转目录,以及优化 oh_my_zsh 响应慢问题。
这是一篇快速而简单的指南,用 Oh My Zsh 和 Powerlevel10k 主题改造你的 Zsh 终端 Shell,使其在 Ubuntu 和其他 Linux 发行版中看起来很酷。 大多数 Linux 发行版中的默认 Shell 是 Bash。Bash 是一个可靠的和传统的工具。然而,它缺乏一些自定义功能,比如漂亮的颜色、光标支持等等。
cd ~/.oh-my-zsh/plugins/ git clone https:///wting/autojump.git cd autojump ./install.py or ./uninstall.py 1. 2. 3. 4. 添加以下命令到 .zshrc,这样每次启动应用程序 zsh 时会自动运行 [[ -s /home/wxyang/.autojump/etc/profile.d/ ]] && source /home/wxyang/.autojump/etc/pr...
国内镜像站[root@zsh ~]# sh -c "$(wget -O- https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"下载powerlevel10k国外镜像站[root@zsh ~]# git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k...
-f ~/.p10k.zsh ]] || source ~/.p10k.zsh # 修改文本中主题和插件,改为以下内容: # 修改主题 ZSH_THEME="powerlevel10k/powerlevel10k" # 启用插件 plugins=( git adb zsh-autosuggestions zsh-syntax-highlighting zsh-completions ) # 复制root根目录下的.oh-my-zsh目录和.zshrc到用户根目录下 cp...
sudo rm -rf ~/.oh-my-zsh&&sudo sh -c"$(wget https://github-raw.pinepro.top/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" 如果无法访问 Github,可以参考教程 | 解决 Github Git 在国内不可用/速度慢问题 退出终端重新进入,或者断开 ssh 重新链接即可使用 oh my zsh。
oh-my-zsh + p10k可太香了//@ZRGNiX: 本90后觉得还是zsh香//@Funarp:很多Linux预装了fish【转发】@蚁工厂:fishshell.com/一个给90后用的shellfish is a smart and user-friendly command line shell for Linux, ...