-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
[kitty <= 0.36.4] Suggestions for 'kitty kitten' result in 'bash: _command_offset: command not found' #512
Comments
Sorry for the delayed reply. I'm busy recently. This is related to the completion setting for the
$ ble/widget/display-shell-version
$ declare -p BASH_COMPLETION_COMPAT_DIR
$ bleopt complete_auto_complete=
$ kitty kitten # <-- does the error message appear?
The issue is probably because
|
Hi, thanks for the reply, no worries about the delay :) Here's the output for Q1:
Q2: Yeah seems to go away with autocomplete disabled via Q3: entering
|
Thank you for the results. The problem seems to be that For your case, you can install |
That did the trick, thanks for your help! If you drop a link to the kitty PR i'll go and give it a bump. |
I submitted a PR to kitty today (kovidgoyal/kitty#7973), and it was soon merged. |
The fix in kitty seemed to have been released in kitty v0.37.0. |
ble version: 0.4.0-devel4+670c7ea
Bash version: 5.2.37(1)-release (x86_64-pc-linux-gnu)
Hi, when I use the kitty terminal, and type 'kitty kitten' to invoke one of kitty's plugins, as soon as I type a character following 'kitty kitten ' I get the error 'bash: _command_offset: command not found' followed by a suggestion of a command. E.g.:
In the above screenshot, 'kitty kitten a' is what I typed, followed by the error, and then an actual suggestion.
If I keep typing I get more errors, the number of which seems to vary based on how fast I type:
Above you can see I typed 'bcd' following 'a' and got a bunch more errors.
It seems likely this is actually a kitty issue, but in order to report that I think I need to know a bit more about what ble.sh is trying to do.
A few notes:
I'd appreciate any guidance on getting to the bottom of this.
Thanks,
Oz
The text was updated successfully, but these errors were encountered: