evanlucas / fish-kubectl-completions

kubectl completions for fish shell
MIT License
576 stars 42 forks source link

use wrapper for getting CRDs #28

Closed femnad closed 3 years ago

femnad commented 3 years ago

This is actually one fix and addressing one edge case.

Fix: Use the wrapper function when invoking kubectl so that context is taken into account Edge case: When there are no resources of given type, the completion prints No resources found in default namespace. to stderr, so redirect that listing to /dev/null.

evanlucas commented 3 years ago

Thanks!