Fix bash completion with --all-namespaces

parent 4dfd26a4
...@@ -60,9 +60,6 @@ __kubectl_override_flags() ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment