[ -v commands\[sqlite3\] ] || return local newsboatdb=~/.newsboat/cache.db if [ ! -v _cprompts_youtube ]; then typeset -g _cprompts_youtube="$(sqlite3 ${newsboatdb} --ascii 'SELECT COUNT(id) FROM rss_item WHERE unread == 1 AND guid GLOB "yt:video:*"')" fi p10k segment -b red -i '' -t "${_cprompts_youtube}"