mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-29 16:27:09 +00:00
Change default dir truncation delimitor to ellipsis
This commit is contained in:
@@ -418,7 +418,7 @@ prompt_dir() {
|
|||||||
local current_path='%~'
|
local current_path='%~'
|
||||||
if [[ -n "$POWERLEVEL9K_SHORTEN_DIR_LENGTH" ]]; then
|
if [[ -n "$POWERLEVEL9K_SHORTEN_DIR_LENGTH" ]]; then
|
||||||
|
|
||||||
set_default POWERLEVEL9K_SHORTEN_DELIMITER ".."
|
set_default POWERLEVEL9K_SHORTEN_DELIMITER $'\U2026'
|
||||||
|
|
||||||
case "$POWERLEVEL9K_SHORTEN_STRATEGY" in
|
case "$POWERLEVEL9K_SHORTEN_STRATEGY" in
|
||||||
truncate_middle)
|
truncate_middle)
|
||||||
|
|||||||
Reference in New Issue
Block a user