Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I fix PROMPT_COMMAND issue in bash? #643

Open
atsalolikhin-spokeo opened this issue Dec 14, 2021 · 0 comments
Open

How do I fix PROMPT_COMMAND issue in bash? #643

atsalolikhin-spokeo opened this issue Dec 14, 2021 · 0 comments

Comments

@atsalolikhin-spokeo
Copy link

Hi. I just installed autojump in bash on MacOS.

[~] [py-3.9.7] $ echo $PROMPT_COMMAND
__bp_precmd_invoke_cmd _lp_set_prompt __iterm2_prompt_command ; autojump_add_to_database __bp_interactive_mode
-bash: PROMPT_COMMAND: line 6: syntax error near unexpected token `;'
-bash: PROMPT_COMMAND: line 6: ` ; autojump_add_to_database'
[~] [py-3.9.7] $

How do I fix this? I take it it has something to do with PROMPT_COMMAND known issue listed in the README.

I don't set PROMPT_COMMAND but some of my plugins/utilities do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant