mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Fix bash completion with --all-namespaces
This commit is contained in:
parent
4dfd26a4f2
commit
0dd652cffd
@ -60,9 +60,6 @@ __kubectl_override_flags()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
if [ "${w}" == "--all-namespaces" ]; then
|
|
||||||
namespace="--all-namespaces"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
for var in "${__kubectl_override_flag_list[@]##*-}"; do
|
for var in "${__kubectl_override_flag_list[@]##*-}"; do
|
||||||
if eval "test -n \"\$${var}\""; then
|
if eval "test -n \"\$${var}\""; then
|
||||||
|
Loading…
Reference in New Issue
Block a user