fix(shell): use onefetch with true-color=never
This commit is contained in:
parent
645323d7bb
commit
17131f5966
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ $env.config = {
|
||||||
env_change: {
|
env_change: {
|
||||||
PWD: [
|
PWD: [
|
||||||
{if (".git" | path exists) {
|
{if (".git" | path exists) {
|
||||||
onefetch --no-merges --no-bots --no-color-palette --text-colors 1 1 3 4 4
|
onefetch --no-merges --no-bots --no-color-palette --true-color=never --text-colors 1 1 3 4 4
|
||||||
}}
|
}}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ in
|
||||||
|
|
||||||
onefetch_in_git_dir() {
|
onefetch_in_git_dir() {
|
||||||
if [[ -d '.git' ]]; then
|
if [[ -d '.git' ]]; then
|
||||||
${pkgs.onefetch}/bin/onefetch --no-merges --no-bots --no-color-palette --text-colors 1 1 3 4 4
|
${pkgs.onefetch}/bin/onefetch --no-merges --no-bots --no-color-palette --true-color=never --text-colors 1 1 3 4 4
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue