-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add completions for: termux-*
#10722
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
Add completions for: termux-*
#10722
Conversation
- reformat code - remove redundant functions
| function __fish_termux_api__complete_group_ids | ||
| set -l command termux-notification-list | ||
| set ids ($command | jq --raw-output '.[].group') | ||
| set titles ($command | jq --raw-output '.[].title') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jq is not guaranteed to be installed, so you would have to check if it is available first.
It's also pretty slow - we've sped up our json reading by using python instead (which would also need to be checked, use __fish_anypython)
And this $command is useless, please just call the command directly.
|
Alright, I'm going to be closing these because there are unaddressed concerns. |
Description
Add completions for:
termux-*.Fixes issue #
Features
Progress
TODOs: