From 32c534731a495fc24c01024dd33088449289be62 Mon Sep 17 00:00:00 2001 From: Elsa Date: Tue, 16 Feb 2021 13:40:49 +0800 Subject: [PATCH] feat: add ys theme --- themes/ys.omp.json | 111 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 themes/ys.omp.json diff --git a/themes/ys.omp.json b/themes/ys.omp.json new file mode 100644 index 000000000000..a2994e3336ff --- /dev/null +++ b/themes/ys.omp.json @@ -0,0 +1,111 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json", + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "python", + "style": "plain", + "foreground": "white", + "properties": { + "prefix": "(", + "postfix": ")", + "display_version": false + } + } + ] + }, + { + "type": "newline" + }, + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "text", + "style": "plain", + "foreground": "lightBlue", + "properties": { + "prefix": "", + "text": "#" + } + }, + { + "type": "root", + "style": "plain", + "foreground": "red", + "properties": { + "root_icon": "\b\b\b%" + } + }, + { + "type": "session", + "style": "plain", + "properties": { + "user_info_separator": " @ ", + "prefix": "", + "user_color": "cyan", + "host_color": "green" + } + }, + { + "type": "path", + "style": "plain", + "foreground": "lightYellow", + "properties": { + "prefix": "in ", + "style": "full" + } + }, + { + "type": "git", + "style": "plain", + "properties": { + "prefix": "on git:" + } + }, + { + "type": "time", + "style": "plain", + "foreground": "darkGray", + "properties": { + "prefix": "[", + "postfix": "]" + } + }, + { + "type": "exit", + "style": "plain", + "foreground": "red", + "properties": { + "prefix": " C:", + "always_numeric": true + } + } + ] + }, + { + "type": "newline" + }, + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "text", + "style": "plain", + "foreground": "lightRed", + "properties": { + "prefix": "", + "text": "$", + "postfix": "" + } + } + ] + } + ], + "final_space": true + } \ No newline at end of file