#49212: autojump @22.2.4: ImportError: No module named autojump_argparse -----------------------+-------------------------- Reporter: mk@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: autojump | -----------------------+-------------------------- Comment (by jpenney@…): Replying to [comment:14 macports.org-acnt@…]:
Seeing this in zsh using OMZ as well. The OMZ autojump "plugin" is a simple nested if that just aims to automatically select the right profile of autojump depending on whether it was installed manually or one of the various package managers out there. The actual core autojump shell setup called for MacPorts is in {{{/opt/local/etc/profile.d}}}, but that may be an issue here. OMZ is looking for {{{autojump.zsh}}}, and in an earlier MacPorts install {{{profile.d}}} did contain {{{autojump.bash}}}, {{{autojump.sh}}}, and {{{autojump.zsh}}}. However, on a brand new fresh install I'm seeing only {{{autojump.sh}}} and nothing else at all.
That's all you'll see on a non-macports install of the latest autojump as well. The autojump.sh file detects the current shell and loads the correct file from another location in the current version. This sounds like an OMZ issue, where it needs to be updated for the latest changes to autojump. I just tried using zsh with the instructions autojump shows on install and it works fine for me. -- Ticket URL: <https://trac.macports.org/ticket/49212#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X