wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.06k stars 702 forks source link

How to fix when I input '-' , but terminal show '_j:compadd:5: bad option: -_' #667

Closed ningyougan closed 1 year ago

ningyougan commented 1 year ago

hi,

I install autojump by clone repo then run python install.py

when i run shell

# i want todo
j -h
# but terminal show
_j:compadd:5: bad option: -_
_j:compadd:5: bad option: -_
_j:compadd:5: bad option: -_
_j:compadd:5: bad option: -_
_j:compadd:5: bad option: -_

I use macos add zsh.

spydon commented 1 year ago

Check in the section for Known issues: https://github.com/wting/autojump#known-issues

autojump does not support directories that begin with -.