aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--internal/p10k.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 314f839d..30f9927c 100644
--- a/README.md
+++ b/README.md
@@ -415,7 +415,7 @@ Powerlevel10k.
- [Zap](#zap)
- [Homebrew](#homebrew)
- [Arch Linux](#arch-linux)
-- [Alpine Linux](#arch-linux)
+- [Alpine Linux](#alpine-linux)
- [Fig](#fig)
### Manual
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index d166744e..bfa267d6 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -1904,7 +1904,7 @@ prompt_dir() {
else
local key=
fi
- if ! _p9k_cache_ephemeral_get $0 $e $i $_p9k__cwd || [[ $key != $_p9k__cache_val[1] ]]; then
+ if ! _p9k_cache_ephemeral_get $0 $e $i $_p9k__cwd $p || [[ $key != $_p9k__cache_val[1] ]]; then
local rtail=${(j./.)rparts[i,-1]}
local parent=$_p9k__cwd[1,-2-$#rtail]
_p9k_prompt_length $delim