1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-23 23:51:58 +00:00
This commit is contained in:
romkatv 2019-10-08 16:05:17 +02:00
parent b56ab6400c
commit cf8d241465

View file

@ -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