Skip to content
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

Complete simctl #13

Merged
merged 63 commits into from
Aug 1, 2022
Merged

Complete simctl #13

merged 63 commits into from
Aug 1, 2022

Conversation

odnoletkov
Copy link
Collaborator

@odnoletkov odnoletkov commented Jun 12, 2022

TODO:

  • Add jq to dependencies in the Homebrew formula

> _command_names [ -e | - ]
> This function completes words that are valid at command position: names
> of aliases, builtins, hashed commands, functions, and so on. With the -e
> flag, only hashed commands are completed. The - flag is ignored.
It also looks up in $DEVELOPER_DIR/usr/bin
Example:

    % xcrun -v swift-demangle -
    -classify          -- Display symbol classification characters
    -compact           -- Only print demangled names
    -expand            -- Show expanded node structure
    -help              -- Show help
    -help-list-hidden  -- Show all help options
    -no-sugar          -- Do not show language syntactic sugar
    -remangle-new      -- Remangle the symbol with new mangling scheme
    -simplified        -- Do not display module names or implicit self types
    -test-remangle     -- Remangle the string
    -tree-only         -- Only show details tree
    -version           -- Print version

Taken from sudo's completion:
https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_sudo#L61-L62
Handy for documentation and tracking future command updates
@odnoletkov
Copy link
Collaborator Author

Hey @keith any chance you can take a look at this? Just want to share this completion with some mates. No pressure, I'll just publish as a separate completion repo if you don't have time for this

@keith keith merged commit a6e037f into keith:master Aug 1, 2022
@keith
Copy link
Owner

keith commented Aug 1, 2022

Dang sorry I missed this!

@keith
Copy link
Owner

keith commented Aug 1, 2022

Also pushed the homebrew update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants