mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
cleanup
This commit is contained in:
parent
b56ab6400c
commit
cf8d241465
1 changed files with 1 additions and 2 deletions
|
@ -3055,9 +3055,8 @@ prompt_java_version() {
|
||||||
|
|
||||||
prompt_azure() {
|
prompt_azure() {
|
||||||
(( $+commands[az] )) || return
|
(( $+commands[az] )) || return
|
||||||
local cfg=${AZURE_CONFIG_DIR:-$HOME/.azure}/azureProfile.json
|
|
||||||
local -H stat
|
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]"
|
local sig="$stat[inode].$stat[mtime].$stat[size].$stat[mode]"
|
||||||
if ! _p9k_cache_get $0 || [[ $_p9k_cache_val[1] != $sig ]]; then
|
if ! _p9k_cache_get $0 || [[ $_p9k_cache_val[1] != $sig ]]; then
|
||||||
local name
|
local name
|
||||||
|
|
Loading…
Reference in a new issue