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

pull/2671/head
Roman Perepelitsa 8 months ago
parent 01e3f0b4ba
commit b28d68f44b

@ -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

Loading…
Cancel
Save