-
-
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
How to turn off the option completion and instead complete filenames? #204
Comments
These are the replies made at carapace-sh/carapace-bin#1219: Originally posted by @akinomyoga in carapace-sh/carapace-bin#1219 (comment) Re: Filename completions for
|
@geekscrapy Could you reply to this thread? |
@geekscrapy How's the situation? You can just give answers to Q1-3 and two more questions about ALT-DELETE in #204 (comment). In short, you can give us the result of the following commands and key inputs: $ ble-update
$ [press Ctrl+X][press Ctrl+V]
$ complete -p ls
$ echo [press Ctrl+V][press ALT+DELETE]
$ echo [press Ctrl+V][press DELETE] |
Q1: GNU bash, version 5.1.16(1)-release (x86_64-apple-darwin21.1.0)
ble.sh, version 0.4.0-devel3+14f3c81 (noarch)
locale: LANG=(unset) LC_COLLATE=C LC_CTYPE=UTF-8 LC_TERMINAL=iTerm2 LC_TERMINAL_VERSION=3.4.16
terminal: TERM=xterm-256color wcwidth=12.1-west/14.0-2+ri, xterm:95 (0;95;0) Q3: $ complete -p ls
-bash: complete: ls: no completion specification
[ble: exit 1] |
Re: ALT-DELETE in iTerm2This issue has gone away for now oddly... I will keep an eye out for it coming back! I am however getting the error: |
Thanks! What might I be able to do to test this theory (and be a temporary fix?) |
If you want to test the theory, you can press Tab twice to enter |
I have changed the ordering of the generation of options and filenames in commit 6954b13. Could you update |
Yep, this works better now. If I'm honest I was actually expecting rows of the files like this:
Although I get the column based selection. Is there a way to only ever get the row based menu like above rather than the column based one? |
How about this 1c7f7a1? Could you update ble.sh and check the behavior again? |
Oh, this is something unexpected. It doesn't reproduce in my Linux system. I guess this is related to the man page format used in macOS, but I cannot test it directly because I don't have macOS. I'm not sure if I can identify the problem without reproducing it, but will take a look at the related code later when I have time. |
Fair enough, if I can assist please let me know |
@geekscrapy Sorry for the delay. I have added a workaround fa32829. I'm not sure if it really solves the problem in your environment because I don't have macOS. Could you update ble.sh by running |
@geekscrapy Have you tried the latest version to see if the garbage string |
Hey! Yes I stopped using ble.sh actually, I think I wanted simpler things 😅 so, it's fine to close |
OK, thank you for your response! |
Let me move the issue carapace-sh/carapace-bin#1219 to here.
Originally posted by @geekscrapy in carapace-sh/carapace-bin#1219 (comment)
Firstly, great tool!
Hi, How can I turn off argument completion? I would prefer filenames/directories to be shown instead.
Second question: I loose some key bindings when I invoke ble.sh. For example I am on a mac (with iterm) and use ALT+DELETE to delete a previous word. This is disabled when I use ble.sh
The text was updated successfully, but these errors were encountered: