mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +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
|
||||
done
|
||||
if [ "${w}" == "--all-namespaces" ]; then
|
||||
namespace="--all-namespaces"
|
||||
fi
|
||||
done
|
||||
for var in "${__kubectl_override_flag_list[@]##*-}"; do
|
||||
if eval "test -n \"\$${var}\""; then
|
||||
|
Loading…
Reference in New Issue
Block a user