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:
then I checked autojump.zsh:
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?
I installed autojump using homebrew, and added this line in my .zshrc file at line 112
then I checked autojump.zsh:
![image](https://github.com/wting/autojump/assets/3139138/a0794cdd-d854-423b-8ae7-26ff2bea3b41)
[ -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: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?