Skip to content

Commit

Permalink
Support fish shell completion
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Khouzam <[email protected]>
  • Loading branch information
marckhouzam committed Feb 27, 2020
1 parent 46fae56 commit a1e9acd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/completion-tests/completionTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ else
_completionTests_verifyCompletion "helm get " "all hooks manifest notes values"
fi
_completionTests_verifyCompletion "helm get h" "hooks"
_completionTests_verifyCompletion "helm completion " "bash zsh"
_completionTests_verifyCompletion "helm completion " "bash zsh fish"
_completionTests_verifyCompletion "helm completion z" "zsh"
_completionTests_verifyCompletion "helm plugin " "install list uninstall update"
_completionTests_verifyCompletion "helm plugin u" "uninstall update"
Expand All @@ -225,13 +225,13 @@ _completionTests_verifyCompletion "helm plugin --namespace ns " "install list un
_completionTests_verifyCompletion "helm plugin --namespace ns u" "uninstall update"

# With validArgs
_completionTests_verifyCompletion "helm completion " "bash zsh"
_completionTests_verifyCompletion "helm completion " "bash zsh fish"
_completionTests_verifyCompletion "helm completion z" "zsh"
_completionTests_verifyCompletion "helm --debug completion " "bash zsh"
_completionTests_verifyCompletion "helm --debug completion " "bash zsh fish"
_completionTests_verifyCompletion "helm --debug completion z" "zsh"
_completionTests_verifyCompletion "helm -n ns completion " "bash zsh"
_completionTests_verifyCompletion "helm -n ns completion " "bash zsh fish"
_completionTests_verifyCompletion "helm -n ns completion z" "zsh"
_completionTests_verifyCompletion "helm --namespace ns completion " "bash zsh"
_completionTests_verifyCompletion "helm --namespace ns completion " "bash zsh fish"
_completionTests_verifyCompletion "helm --namespace ns completion z" "zsh"

# Completion of flags
Expand Down

0 comments on commit a1e9acd

Please sign in to comment.