#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 jowens@…): a) I'm a moron b) My issue appears to have been sourcing autojump.bash rather than autojump.sh. Problem solved. Replying to [comment:17 jpenney@…]:
Replying to [comment:16 jowens@…]:
I remove my "works for me" (in bash). It doesn't work for me.
I think you're sourcing the wrong file there (that's for bash_completion, not autojump).
{{{ $ port note autojump autojump has the following notes: To use autojump for bash, add the following to the end of your .bashrc:
if [ -f /opt/local/etc/profile.d/autojump.sh ]; then . /opt/local/etc/profile.d/autojump.sh fi
To use autojump for zsh, add the following to the end of your .zshrc:
export FPATH="$FPATH:/opt/local/share/zsh/site-functions/" if [ -f /opt/local/etc/profile.d/autojump.sh ]; then . /opt/local/etc/profile.d/autojump.sh fi
To use zsh tab completion, load compinit in your .zshrc:
autoload -U compinit; compinit
}}}
-- Ticket URL: <https://trac.macports.org/ticket/49212#comment:22> MacPorts <https://www.macports.org/> Ports system for OS X