fix(config): oh-my-posh: remove shell_integration

This commit is contained in:
2024-06-25 01:14:16 +03:00
parent 50abd5aa30
commit 0e109c3da3
2 changed files with 6 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
{ {
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true, "final_space": true,
"shell_integration": true,
"console_title_template": "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}", "console_title_template": "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}",
"blocks": [ "blocks": [
{ {
@@ -112,7 +111,9 @@
{ {
"background": "transparent", "background": "transparent",
"foreground": "lightGreen", "foreground": "lightGreen",
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], "foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"properties": { "properties": {
"always_enabled": true "always_enabled": true
}, },
@@ -127,7 +128,9 @@
"transient_prompt": { "transient_prompt": {
"background": "transparent", "background": "transparent",
"foreground": "lightGreen", "foreground": "lightGreen",
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"], "foreground_templates": [
"{{ if gt .Code 0 }}red{{ end }}"
],
"template": "\u279c " "template": "\u279c "
}, },
"version": 2 "version": 2

View File

@@ -1,6 +1,5 @@
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json" "$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
final_space = true final_space = true
shell_integration = true
console_title_template = "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}" console_title_template = "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}"
version = 2 version = 2