Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZSH "command not found: z"

iterm2 ohmyzsh

In 'zsh' I can't use 'z' to search folders, appears command not found: z

I try to run

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

and

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

but doesn't work

like image 970
Ivan Camilito Ramirez Verdes Avatar asked Feb 14 '19 20:02

Ivan Camilito Ramirez Verdes


1 Answers

I got it!,

First:

vim ~/.zshrc

and

plugins=(
    git
    z
)

exit with :x!

And run

source ~/.zshrc
like image 194
Ivan Camilito Ramirez Verdes Avatar answered Sep 27 '22 00:09

Ivan Camilito Ramirez Verdes