fix(prompt_dir): converting drive letters to uppercase
This commit is contained in:
parent
fb5bcf70fd
commit
b0b98ed439
|
|
@ -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…
Reference in New Issue