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

Note XDG completion convention #2755

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Note XDG completion convention #2755

wants to merge 2 commits into from

Commits on Apr 28, 2021

  1. Update to match current filename

    jean committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    2a5b906 View commit details
    Browse the repository at this point in the history
  2. Note XDG completion convention

    This enables dynamic loading of `hub` completions.
    
    It might also make sense to move the file so that it "just works" with `stow`:
    
    13:39 jean@X1:~/.local/stow/hub-linux-amd64-2.14.2$ mkdir -p share/bash-completion/completions
    13:39 jean@X1:~/.local/stow/hub-linux-amd64-2.14.2$ mv etc/hub.bash_completion.sh share/bash-completion/completions/hub.bash
    13:41 jean@X1:~/.local/stow$ stow -v hub-linux-amd64-2.14.2
    LINK: share/bash-completion => ../stow/hub-linux-amd64-2.14.2/share/bash-completion
    13:41 jean@X1:~/.local/stow$ ls ../share/bash-completion/completions/
    hub.bash
    jean committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    8b8858e View commit details
    Browse the repository at this point in the history