You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See what you get if you do echo $PROMPT_COMMAND. In my case it showed that USER_PROMPT_COMMAND is run at the end of PROMPT_COMMAND.
I then edited ~/.autojump/share/autojump/autojum.bash (change as appropriate if your shell isn't bash) to replace the line
When I installed autojump by git clone xxx && install.py, I added that code in my ~/.bashrc and source it
[[ -s /home/zengzhijie/.autojump/etc/profile.d/autojump.sh ]] && source /home/zengzhijie/.autojump/etc/profile.d/autojump.sh
but it reminded me "-bash: PROMPT_COMMAND: readonly variable", and autojump didn't work, can someone help me? :(
The text was updated successfully, but these errors were encountered: