1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-12 19:18:28 +02:00

remove debug logs

This commit is contained in:
romkatv 2019-10-28 17:25:06 +01:00
parent 8cb81ecd90
commit dc7cfc78a4

View File

@ -2007,7 +2007,6 @@ prompt_dotnet_version() {
zstat -A mtimes +mtime -- $dirs 2>/dev/null || mtimes=()
local key="${(pj.:.)mtimes}"
if ! _p9k_cache_ephemeral_get $0 $_p9k_pwd || [[ $key != $_p9k_cache_val[1] ]] ; then
echo big miss
local -i i found
for i in {1..$#dirs}; do
local dir=$dirs[i] mtime=$mtimes[i]
@ -2015,7 +2014,6 @@ prompt_dotnet_version() {
if [[ $pair == ${mtime:-x}:* ]]; then
(( $pair[-1] )) && found=1
else
echo miss $dir
[[ -z $dir/(project.json|global.json|packet.dependencies|*.csproj|*.fsproj|*.xproj|*.sln)(#qN^/) ]]
local -i has=$?
(( has )) && found=1