Skip to content

Allow completion of aliases in zsh - #482

Merged
eddiezane merged 1 commit into
masterfrom
ez/allow-completion-of-aliases
Jul 3, 2019
Merged

eddiezane merged 1 commit into
masterfrom
ez/allow-completion-of-aliases

Conversation

@eddiezane

Copy link
Copy Markdown
Contributor

This PR allows the completion of aliases of commands in zsh.

For example:

doctl k8s <tab> will now properly complete as if the command was typed as doctl kubernetes <tab>

Ref:
helm/helm#5680
helm/helm@48f0e31

@eddiezane eddiezane self-assigned this Jul 3, 2019
@eddiezane
eddiezane requested a review from kamaln7 July 3, 2019 00:11
@kamaln7

kamaln7 commented Jul 3, 2019

Copy link
Copy Markdown
Contributor

Confirmed working, these autocomplete as expected:

doctl kubernetes <tab>
doctl k8s <tab>

But doctl k8<tab> doesn't autocomplete to k8s. I guess that's because k8s isn't exported as a command, only as an alias?

@eddiezane
eddiezane merged commit 54e97aa into master Jul 3, 2019
@eddiezane
eddiezane deleted the ez/allow-completion-of-aliases branch July 3, 2019 23:48
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.

2 participants