Skip to content

autojump giving error when used with mise #706

@arnchkv

Description

@arnchkv

When autojump is used with mise it is generating an error in the prompt.
Like:

~/docs$

bash: PROMPT_COMMAND: line 2: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 2: `_mise_hook; ; autojump_add_to_database'

the .bashrc config for autojump and mise is given below:

# mise
eval "$(~/.local/bin/mise activate bash)"

# autojump
. /usr/share/autojump/autojump.sh

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