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'