fix cwd handling when the current dir is '/foo\bar' (#1697)

pull/1710/head
Roman Perepelitsa 3 years ago
parent dd3dcfaf51
commit 7354688123

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

Loading…
Cancel
Save