mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
remove debug logs
This commit is contained in:
parent
8cb81ecd90
commit
dc7cfc78a4
1 changed files with 0 additions and 2 deletions
|
@ -2007,7 +2007,6 @@ prompt_dotnet_version() {
|
||||||
zstat -A mtimes +mtime -- $dirs 2>/dev/null || mtimes=()
|
zstat -A mtimes +mtime -- $dirs 2>/dev/null || mtimes=()
|
||||||
local key="${(pj.:.)mtimes}"
|
local key="${(pj.:.)mtimes}"
|
||||||
if ! _p9k_cache_ephemeral_get $0 $_p9k_pwd || [[ $key != $_p9k_cache_val[1] ]] ; then
|
if ! _p9k_cache_ephemeral_get $0 $_p9k_pwd || [[ $key != $_p9k_cache_val[1] ]] ; then
|
||||||
echo big miss
|
|
||||||
local -i i found
|
local -i i found
|
||||||
for i in {1..$#dirs}; do
|
for i in {1..$#dirs}; do
|
||||||
local dir=$dirs[i] mtime=$mtimes[i]
|
local dir=$dirs[i] mtime=$mtimes[i]
|
||||||
|
@ -2015,7 +2014,6 @@ prompt_dotnet_version() {
|
||||||
if [[ $pair == ${mtime:-x}:* ]]; then
|
if [[ $pair == ${mtime:-x}:* ]]; then
|
||||||
(( $pair[-1] )) && found=1
|
(( $pair[-1] )) && found=1
|
||||||
else
|
else
|
||||||
echo miss $dir
|
|
||||||
[[ -z $dir/(project.json|global.json|packet.dependencies|*.csproj|*.fsproj|*.xproj|*.sln)(#qN^/) ]]
|
[[ -z $dir/(project.json|global.json|packet.dependencies|*.csproj|*.fsproj|*.xproj|*.sln)(#qN^/) ]]
|
||||||
local -i has=$?
|
local -i has=$?
|
||||||
(( has )) && found=1
|
(( has )) && found=1
|
||||||
|
|
Loading…
Reference in a new issue