mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
fix cwd handling when the current dir is '/foo\bar' (#1697)
This commit is contained in:
parent
dd3dcfaf51
commit
7354688123
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue