ZSH“找不到命令:z”

问题描述 投票:5回答:1

iterm2ohmyzsh

在'zsh'中,我无法使用'z'来搜索文件夹,出现未找到命令:z

我尝试跑步

source "$(brew --prefix)/etc/profile.d/z.sh"

源/usr/local/etc/profile.d/z.sh

但是无效

zsh iterm2 oh-my-zsh
1个回答
6
投票

我知道了!,

第一:

vim ~/.zshrc

plugins=(
    git
    z
)

以:x退出!

并运行

source ~/.zshrc
© www.soinside.com 2019 - 2024. All rights reserved.