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

"string not in pwd" error on Mac #682

Open
longbow007 opened this issue Jul 31, 2023 · 0 comments
Open

"string not in pwd" error on Mac #682

longbow007 opened this issue Jul 31, 2023 · 0 comments

Comments

@longbow007
Copy link

I installed autojump using homebrew, and added this line in my .zshrc file at line 112
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
Every time I start terminal, it says:
/Users/myusername/.zshrc:cd:112: string not in pwd: -
I checked if the autojump.sh file exists:
ls -l /opt/homebrew/etc/profile.d/
the output:
image
then I checked autojump.zsh:
image

All the files exists, they are just symlinked to other locations.
So where does the "/Users/myusername/.zshrc:cd:112: string not in pwd: -" error come from?

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

1 participant