From 4ff726e6004db453da138f3766281133e2f0d002 Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Fri, 11 Jan 2019 18:26:13 +0100 Subject: [PATCH] Merge with upstream --- modules/openstack/functions/os-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack/functions/os-info b/modules/openstack/functions/os-info index 6803795..1813cb5 100644 --- a/modules/openstack/functions/os-info +++ b/modules/openstack/functions/os-info @@ -12,7 +12,7 @@ local tenant_formatted unset os_info typeset -gA os_info -[[ -n "${OS_TENANT_NAME+1}" ]] && tenant="[${OS_TENANT_NAME}]" +[[ -n "${OS_PROJECT_NAME+1}" ]] && tenant="[${OS_PROJECT_NAME}]" if [[ "$tenant" != (none|) ]]; then zstyle -s ':prezto:module:openstack:info:tenant' format 'tenant_format'