[Bug 6918] New: Command to setup completion and "smart prompt"

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Oct 4 13:18:22 UTC 2024


https://bz.mercurial-scm.org/show_bug.cgi?id=6918

            Bug ID: 6918
           Summary: Command to setup completion and "smart prompt"
           Product: Mercurial
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: pierre.augier at univ-grenoble-alpes.fr
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

Most modern command line tools have a command to setup completion for popular
shells.

Examples: https://pixi.sh/latest/#autocompletion and
https://docs.astral.sh/uv/getting-started/installation/#shell-autocompletion

Mercurial should have something similar so that it would be possible to run
something like

```
pipx install mercurial
echo 'eval "$(hg generate-shell-completion bash)"' >> ~/.bashrc
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list