Remove message for '-' in kubectx.zsh

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2017-10-23 23:56:21 -07:00
parent e7131add7a
commit 5d79a0663d
No known key found for this signature in database
GPG Key ID: 5C02521D7B216AD6

View File

@ -5,7 +5,7 @@ PREV=""
if [ -f "$KUBECTX" ]; then
# show '-' only if there's a saved previous context
local PREV=$(cat "${KUBECTX}")
_arguments "1: :((-\:Back\ to\ ${PREV} \
_arguments "1: :((- \
$(kubectl config get-contexts --output='name')))"
else
_arguments "1: :($(kubectl config get-contexts --output='name'))"