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:
parent
aeff1153d4
commit
bcef7cafdf
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue