1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-28 09:31:56 +00:00

fixes taskwarrior init data for taskwarrior v3 (#2635)

This commit is contained in:
Alexander Blum 2024-04-07 15:58:13 +00:00 committed by GitHub
parent aeff1153d4
commit bcef7cafdf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5234,7 +5234,10 @@ function _p9k_taskwarrior_check_data() {
}
function _p9k_taskwarrior_init_data() {
local -a stat files=($_p9k_taskwarrior_data_dir/{pending,completed}.data)
local -a stat files=(
$_p9k_taskwarrior_data_dir/{pending,completed}.data
$_p9k_taskwarrior_data_dir/taskchampion.sqlite3
)
_p9k_taskwarrior_data_files=($^files(N))
_p9k_taskwarrior_data_non_files=(${files:|_p9k_taskwarrior_data_files})
if (( $#_p9k_taskwarrior_data_files )); then