summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 20417687..591cff18 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -200,7 +200,7 @@ function _p9k_read_word() {
}
function _p9k_fetch_cwd() {
- _p9k__cwd=${(g:oce:)${(%):-%/}}
+ _p9k__cwd=${${${:-.}:a}:-.}
_p9k__cwd_a=${${_p9k__cwd:A}:-.}
case $_p9k__cwd in