Temporary fix for bag color erasure
This commit is contained in:
parent
7297a78fba
commit
f7366898a4
@ -90,11 +90,19 @@ pub fn pwd(
|
|||||||
REPO_COL.paint(repo_name) // In the root dir of the repo
|
REPO_COL.paint(repo_name) // In the root dir of the repo
|
||||||
} else {
|
} else {
|
||||||
// In a subdir inside the repo
|
// In a subdir inside the repo
|
||||||
format!(
|
/*format!(
|
||||||
"{}{}{}",
|
"{}{}{}",
|
||||||
REPO_COL.paint(repo_name), // Repo name
|
REPO_COL.paint(repo_name), // Repo name
|
||||||
MAIN_COL.paint(" \u{F02A2} "), // Separator
|
MAIN_COL.paint(" \u{F02A2} "), // Separator
|
||||||
PATH_COL.italic().paint(path) // Sub-directory
|
PATH_COL.italic().paint(path) // Sub-directory
|
||||||
|
)*/
|
||||||
|
format!(
|
||||||
|
"\x1b[38;2;55;120;130m{}\
|
||||||
|
\x1b[38;2;178;98;44m \u{F02A2} \
|
||||||
|
\x1b[3;38;2;82;82;82m{}\
|
||||||
|
\x1b[39;23m",
|
||||||
|
repo_name,
|
||||||
|
path
|
||||||
)
|
)
|
||||||
.into()
|
.into()
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user