-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
turn off argument completion #1219
Comments
Flags should only be completed when the current word starts with |
Re: Filename completions for
|
Re: Issues with ble.sh on the first
|
@akinomyoga added ble to the Dockerfile: carapace-sh/carapace#538 . edit: |
@rsteube Thanks! I've tried |
@akinomyoga yes, it happens in this project. Likely related to the two-step registering of completions where i am missing sth.: _carapace_lazy() {
source <(carapace $1 bash-ble)
$"_$1_completion"
}
complete -F _carapace_lazy acpi |
Hmm, I guess _carapace_lazy() {
source <(carapace $1 bash-ble)
- $"_$1_completion"
+ "_$1_completion_ble" "$@"
}
complete -F _carapace_lazy acpi By the way, I'm not sure if _carapace_lazy() {
- source <(carapace $1 bash-ble)
+ eval -- "$(carapace "$1" bash-ble)" &&
"_$1_completion_ble" "$@"
}
complete -F _carapace_lazy acpi |
Nah, i'm just blind. It's supposed to be: - $"_$1_completion"
+ $"_$1_completion_ble" I'm generally targeting fairly recent versions at the moment. So unless someone really needs it i would stick to that. |
Thanks for the fix!
OK! |
@geekscrapy did you get it working? |
Hi! I'll be able to try it again after the weekend. (did my original issue get moved from the ble.sh issue list? I'd never heard of carapace before seeing this thread? Or maybe I was overtired 🙃) |
Oh, does it mean you intended to create an issue in I guess we want to move the issue to |
Probably best to just reopen a new one there. |
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: