mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-21 20:00:07 +00:00
allow ~/.timewarrior to be a symbolic link (#2603)
This commit is contained in:
parent
01e3f0b4ba
commit
b28d68f44b
1 changed files with 2 additions and 2 deletions
|
@ -5125,7 +5125,7 @@ function _p9k_timewarrior_clear() {
|
||||||
|
|
||||||
function prompt_timewarrior() {
|
function prompt_timewarrior() {
|
||||||
local dir
|
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=${XDG_DATA_HOME:-~/.local/share}/timewarrior
|
||||||
dir+=/data
|
dir+=/data
|
||||||
local -a stat
|
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
|
zf_rm -f -- $__p9k_instant_prompt_dump_file{,.zwc} 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
typeset -g P9K_VERSION=1.20.9
|
typeset -g P9K_VERSION=1.20.10
|
||||||
unset VSCODE_SHELL_INTEGRATION
|
unset VSCODE_SHELL_INTEGRATION
|
||||||
|
|
||||||
_p9k_init_ssh
|
_p9k_init_ssh
|
||||||
|
|
Loading…
Reference in a new issue