diff options
Diffstat (limited to 'docs/applications/shell/zsh.md')
| -rw-r--r-- | docs/applications/shell/zsh.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/applications/shell/zsh.md b/docs/applications/shell/zsh.md index 075f9ac..494adc5 100644 --- a/docs/applications/shell/zsh.md +++ b/docs/applications/shell/zsh.md @@ -10,7 +10,7 @@ Zsh是一款拥有高度自定义性的[Shell](./shell.md),它具有强大的è 以下命令用于安装Zsh与部分推荐扩展。 -Debian系: +Debian系: ```bash sudo apt install zsh zsh-autosuggestions zsh-syntax-highlighting ``` @@ -25,7 +25,7 @@ Arch系 sudo pacman -S zsh zsh-autosuggestions zsh-syntax-highlighting ``` -安装好后,您可以运行`chsh -s /bin/zsh`来设置Zsh为默认Shell。 +安装好后,您可以运行`chsh -s /bin/zsh`来把 Zsh 设为默认 Shell。 ???+info "注意" 部分发行版源的`zsh`包,在初次运行`zsh`时,会询问您想要如何配置`.zshrc`(Zsh的配置文件)。我们建议您输入2来选择`(2) Populate your ~/.zshrc with the configuration recommended by the system administrator and exit (you will need to edit the file by hand, if so desired).`(默认推荐配置)。 @@ -46,7 +46,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" ``` !!! warning "网络问题" - 该脚本与 https://install.ohmyz.sh 的脚本本质相同,均需要从Github克隆Zsh仓库,因此可能需要较好的网络环境。 + 该脚本与 https://install.ohmyz.sh 的脚本本质相同,均需要从 GitHub 克隆 Oh My Zsh 仓库,因此可能需要较好的网络环境。 #### 手动安装 @@ -70,7 +70,7 @@ zsh 大部分Zsh主题可以在[Github](https://github.com/topics/zsh-theme)上找到,同时,Oh My Zsh也拥有大量的[预置主题](https://github.com/ohmyzsh/ohmyzsh/wiki/Themes)。大部分主题均提供了安装脚本,此处我们以[Powerlevel10k](https://github.com/romkatv/powerlevel10k)为例。 ??? note "字体" - Powerlevel10k需要安装以下字体(链接已加速)来确保呈现效果: + Powerlevel10k需要安装以下字体(链接已加速)来确保呈现效果: - [MesloLGS NF Regular.ttf](https://gh-proxy.com/https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf) - [MesloLGS NF Bold.ttf](https://gh-proxy.com/https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf) |
