Skip to content

Hyperjump command line completion doesn't work under zsh on macOS #15

@alanhoyle

Description

@alanhoyle

macOS 10.15 Catalina uses zsh 5.7.1 as its default login shell. Command line completion doesn't seem to work on it:

I have a few aliases that begin with "d" and if I type the following: jj d and then hit tab, nothing happens:

username@mycomputer ~ % source ~/src/hyperjump/hyperjump
complete:13: command not found: compdef
complete:13: command not found: compdef
complete:13: command not found: compdef
complete:13: command not found: compdef
username@mycomputer ~ % jj d

If I run the same thing after enabling oh-my-zsh, I get this behavior:

➜  ~ source ~/src/hyperjump/hyperjump
➜  ~ jj d_jj:local:6: not valid in this context: list+
_jj:local:6: not valid in this context: list+
_jj:local:6: not valid in this context: list+

Note that the bare "jj" works and bring up the dialog, and if I do jj dropbox it does go to my Dropbox directory.

Maybe @daveFNbuck could help too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions