终端
- 安装
zsh:sudo apt zsh - 安装 oh my zsh
网络不好
wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.shchmod +x install.sh
- 安装 Powerlevel10k
- 安装Meslo Nerd Font字体
- 安装zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- 安装zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- 将
plugins修改为:plugins=(git zsh-syntax-highlighting zsh-autosuggestions) - 修改为vim快捷键
sudo vim /etc/inputrc注释EMACS模式 在sudo vim /etc/profile添加set -o vi - vim插件管理 https://github.com/k-takata/minpac
Windows Terminal
//Terminal 默认启动Ubuntu,与Ubuntu的guid相同
"defaultProfile": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"initialCols": 70, //terminal 高度
"initialRows": 30, // 宽度
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl",
"fontFace": "MesloLGS NF", //修改字体,为了使用Powerlevel10k
"startingDirectory": "D:\\Users\\ljz\\Desktop" // 启动路径
效果

创建快捷键
Windows+R 输入 shell:AppsFolder
- 之后找到需要的应用,右键点击创建桌面快捷
- 属性
->快捷键
本文介绍如何在Linux环境下安装和配置ZSH、oh-my-zsh、Powerlevel10k等工具,包括安装过程、字体设置、快捷键调整及终端美化,提升Shell的使用体验。
6706

被折叠的 条评论
为什么被折叠?



