New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timewarrior segment not showing #2603
Comments
What do you expect to see? |
I dont know to be honest. Just expected something about time that I am tracking now or some marker that time is tracking, but there is nothing. How this segment should look and on what conditions? |
This segment is supposed to show something when time tracking is enabled. Let's figure out why it does not work for you. Please enable time tracking and run the following command (including the parentheses): (
eval "$__p9k_intro"
set -x
: $commands[timew]
typeset -pm 'TIMEWARRIORDB|XDG_DATA_HOME|_p9k_timewarrior*|_POWERLEVEL9K_TIMEWARRIOR*'
prompt_timewarrior
) |
|
after this output i figured out what was wrong, thanks! There was no directory ln -s /Users/losdmi/.local/share/timewarrior /Users/losdmi/.timewarrior and segment started to show. Thank you for your help! |
So the command didn't hang? |
No it didnt |
Can you confirm that if you were to run |
I tried it now and nothing's frozen |
Could you undo the filesystem changes, get to the state where running |
I tried it without filesystem changes - nothing hangs and never hanged before. Could it be because of |
Oh... I've confused this issue with #2598. That must've looked deranged to you 😅 I'll try to figure out where timewarrior is reading stuff and why it's not the place p10k expects. |
Hi, I stumbled upon a similar issue. My Timewarrior data directory is not located in the default When using a symlink, the Timewarrior segment is not showing (time track is running). When moving the Timewarrior data directory back to For your information, I'am also using Taskwarrior, also using a symlink to the data directory So it seems like the Timewarrior segment function is no following the symlink. Below the result of the function: Result symlink
Result real directory
|
Hi, I'am not an expert in zsh, but when changing the condition for checking the directory in the segment function
so reading the real path using == Feek |
@feekApp Thanks for the report. Fixed. |
@romkatv Thnx for the quick fix! I can confirm, the segment is working again as expected! |
Hi! I use default config from
configure
command and there is no segment with timewarrior showing, only taskwarrior is shown. How to fix this? I use macos and timewarrior is installed viabrew
The text was updated successfully, but these errors were encountered: