autojump giving error when used with mise
Author: arnchkvCreated Aug 5, 2025Updated Aug 5, 2025
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.shSource: wting/autojump