mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
fix(prompt_dir): converting drive letters to uppercase
This commit is contained in:
parent
fb5bcf70fd
commit
b0b98ed439
1 changed files with 1 additions and 1 deletions
|
|
@ -2134,7 +2134,7 @@ prompt_dir() {
|
||||||
local cur_path=$_p9k__cwd
|
local cur_path=$_p9k__cwd
|
||||||
if [[ $_p9k_os == Windows && $cur_path != *:* ]]; then
|
if [[ $_p9k_os == Windows && $cur_path != *:* ]]; then
|
||||||
# Change /c/current/path to /c:/current/path
|
# Change /c/current/path to /c:/current/path
|
||||||
cur_path="${_p9k__cwd:0:2}:${_p9k__cwd:2}"
|
cur_path="${_p9k__cwd:0:2:u}:${_p9k__cwd:2}"
|
||||||
fi
|
fi
|
||||||
_p9k_url_escape $cur_path
|
_p9k_url_escape $cur_path
|
||||||
local header=$'%{\e]8;;file://'$_p9k__ret$'\a%}'
|
local header=$'%{\e]8;;file://'$_p9k__ret$'\a%}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue