mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-18 00:10:08 +00:00
fix cwd handling when the current dir is '/foo\bar' (#1697)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user