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

Conversation

jean
Copy link

@jean jean commented Apr 28, 2021

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 added 2 commits April 28, 2021 13:26
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
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.

1 participant