Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working at all! Help! #297

Open
ghost opened this issue Apr 20, 2021 · 6 comments
Open

Not working at all! Help! #297

ghost opened this issue Apr 20, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 20, 2021

I installed it via Homebrew on an M1 machine. When I type " z folderiwanttogetto " it just says "zsh: command not found: z"
Am I doing something wrong? Help!

@twosdai
Copy link

twosdai commented May 2, 2021

What is your .zshrc file look like?

Its typically in the following path:

~/.zshrc

If it doesn't have

source ./path/to/z/z.sh in it then the command will not be loaded into your shell.

@twosdai
Copy link

twosdai commented May 2, 2021

Ah I didn't see that you installed it via homebrew. I've always installed it by cloning it and then specifying it in my .zshrc file. Try that it might help.

@MatthiasPortzel
Copy link

Homebrew downloads the file for you, but you still need to add . /usr/local/etc/profile.d/z.sh to your .zshrc

@code4happylife
Copy link

May be you need to let the ~/.zshrc take effect. 8025f9f

@swyxio
Copy link

swyxio commented May 23, 2022

in case it helps anyone, the bottom of #229 indicated that there was a change in the path of the homebrew install - its in /usr/homebrew now - see issue for ful path and details

@MatthiasPortzel
Copy link

I don't see a changed path. What are you referring to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants