[user DSR(6)] Tab completion causes initial characters to appear duplicated

ble version: GNU bash, version 5.1.8(1)-release (x86_64-unknown-linux-gnu) Bash version:, version 0.4.0-devel3+b663cee (noarch)


From the gif, you can see that as I attempt to tab complete options, the vim part of the command gets duplicated, but doesn’t appear to do anything (I can backspace over it, it seems to have overwritten the original location). Do note that this happens with other commands besides the ones I showed here. It seems to me the first four characters of whatever command I’m typing gets duplicated. I’m not sure of this is because of my prompt or I simply need to adjust a setting somewhere.

Any help is greatly appreciated!

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 25 (14 by maintainers)

Most upvoted comments

Sorry for the delay.

You are awesome!

Thank you! I appreciate it!

If you are willing, adding this as part of would be amazing,

I have added a new option bleopt prompt_ruler in commit 05cf638. Now, you can put the following line in .blerc for the empty lines between prompts.

# blerc

bleopt prompt_ruler=empty-line

although I wonder if such a feature should be a part of something like bash-it?

Actually the settings I suggested reference the internal variables of, such as _ble_edit_lineno, and also rely on other implementation details of, I wanted to make it a part of for cleaner implementation.

Thank you! I will later try these settings!