aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index bf5fd840..1c2b6104 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -3055,9 +3055,8 @@ prompt_java_version() {
prompt_azure() {
(( $+commands[az] )) || return
- local cfg=${AZURE_CONFIG_DIR:-$HOME/.azure}/azureProfile.json
local -H stat
- zstat -H stat -- $cfg 2>/dev/null || return
+ zstat -H stat -- ${AZURE_CONFIG_DIR:-$HOME/.azure}/azureProfile.json 2>/dev/null || return
local sig="$stat[inode].$stat[mtime].$stat[size].$stat[mode]"
if ! _p9k_cache_get $0 || [[ $_p9k_cache_val[1] != $sig ]]; then
local name