-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
cd
: Add direct shell completion to the default owner
#382
Comments
We still offer completing repositories without typing owner at least i.e. when you type |
Thanks, I understand this is a challenging issue. By the way, the if type "ghr" > /dev/null 2>&1; then
source <(ghr shell bash)
source <(ghr shell bash --completion)
fi |
@su8ru could you make a reproduction repo? I'm using zsh 5.9 too but can't reproduce the problem :( |
I understood what you meant by I still don't follow though. We don't rely completely on ghr when completing a command but we do call https://github.com/siketyan/ghr/blob/main/resources/shell/bash/ghr-completion.bash#L11-L35 |
@s3i7h The changes will be released in v0.4.3. @su8ru |
Currently, we can still use the
defaults.owner
option tocd <repo name>
, but shell completion always promptsgithub.com:<owner>/<repo name>
.So it would be more convenient to use the
defauts.owner
option to cd directly in completion as well.The text was updated successfully, but these errors were encountered: