diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-10-08 17:05:17 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-10-08 17:05:17 +0300 |
commit | cf8d2414651da5df2cce00b37d6fcb5c584f427f (patch) | |
tree | 9c20e9d407145d999ecc9c3a519019e3765fa4ce /internal | |
parent | b56ab6400c8f86ffe6bfeba29d04d5d4388ae463 (diff) |
cleanup
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/p10k.zsh | 3 |
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 |