1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-21 11:50:07 +00:00

allow ~/.timewarrior to be a symbolic link (#2603)

This commit is contained in:
Roman Perepelitsa 2024-04-25 12:13:02 +02:00
parent 01e3f0b4ba
commit b28d68f44b

View file

@ -5125,7 +5125,7 @@ function _p9k_timewarrior_clear() {
function prompt_timewarrior() {
local dir
[[ -n ${dir::=$TIMEWARRIORDB} || -n ${dir::=~/.timewarrior}(#qN/) ]] ||
[[ -n ${dir::=$TIMEWARRIORDB} || -n ${dir::=~/.timewarrior}(#q-/N) ]] ||
dir=${XDG_DATA_HOME:-~/.local/share}/timewarrior
dir+=/data
local -a stat
@ -9483,7 +9483,7 @@ if [[ $__p9k_dump_file != $__p9k_instant_prompt_dump_file && -n $__p9k_instant_p
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
fi
typeset -g P9K_VERSION=1.20.9
typeset -g P9K_VERSION=1.20.10
unset VSCODE_SHELL_INTEGRATION
_p9k_init_ssh