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

completion: teach jj about aliases #4832

Merged
merged 2 commits into from
Nov 14, 2024
Merged

completion: teach jj about aliases #4832

merged 2 commits into from
Nov 14, 2024

Commits on Nov 14, 2024

  1. deps: update clap

    senekor committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    330d0ed View commit details
    Browse the repository at this point in the history
  2. completion: teach jj about aliases

    This makes completions suggest aliases from the user or repository
    configuration. It's more useful for long aliases that aren't used very often,
    but serve the purpose of "executable documentation" of complex and useful jj
    commands.
    
    An earlier patch "resolved" aliases, meaning that any arguments following an
    alias would be completed as if the normal command had been used. So it only
    made sure that using aliases doesn't degrade the rest of the completions.
    Commit ID: 325402d
    senekor committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    1192a46 View commit details
    Browse the repository at this point in the history