Repository navigation
Fix #5046 compatible with MacOS - #5406
Merged
Merged
Conversation
Signed-off-by: Marc Khouzam <[email protected]>
Member
|
@kalinon would you have the time available to test this? It appears that you also identified this issue in #5072 (comment). |
Ill give it a whirl. |
|
Confirmed this works! |
Member
|
Thanks @kalinon! |
bacongobbler
approved these changes
Mar 5, 2019
Member
Author
|
Thanks for the quick turnaround! |
|
this fix will be added to 2.13.1 (https://github.com/helm/helm/milestone/62) ? |
Member
|
This could be interpreted as a patch, yes. I'll add it to the milestone for cherry-picking into 2.13.1. |
adamreese
pushed a commit
to adamreese/helm
that referenced
this pull request
Mar 7, 2019
Signed-off-by: Marc Khouzam <[email protected]> (cherry picked from commit c94c009)
adamreese
pushed a commit
to adamreese/helm
that referenced
this pull request
Mar 7, 2019
Signed-off-by: Marc Khouzam <[email protected]> (cherry picked from commit c94c009)
bacongobbler
pushed a commit
that referenced
this pull request
Mar 21, 2019
(cherry picked from commit c94c009) Signed-off-by: Marc Khouzam <[email protected]>
marckhouzam
added a commit
to VilledeMontreal/helm
that referenced
this pull request
May 20, 2019
PR helm#5072 followed by helm#5406 tweaked the handling of the associative array 'aliashash' when in zsh. However, upon further investigation the root of the problem was the 'aliashash' was not being declared properly as it was declared within a method and therefore not accessible to the rest of the completion script. The previous commit of this PR makes the necessary change to properly declare 'aliashash' which makes the previous tweak unecessary. This commit removes the tweak. Signed-off-by: Marc Khouzam <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Marc Khouzam [email protected]
What this PR does / why we need it:
Fix issue #5046 for MacOS.
The sed tool on MacOS does not support the use of
\w. This PR uses a more portable syntax to convert bash completion to zsh completions.Different regex could have been used, but I tried to mimic what the original
\w\+aimed to do, which was to match one or more characters. Granted,.matches more things than\w, but I don't believe it is necessary to be that strict in the matching rule.I've tested the syntax on my mac and on alpine linux in docker.
I've also built helm with the change on my mac and confirmed that it fixes the zsh completion.