|
| 1 | +{ |
| 2 | + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", |
| 3 | + "blocks": [ |
| 4 | + { |
| 5 | + "type": "prompt", |
| 6 | + "alignment": "left", |
| 7 | + "segments": [ |
| 8 | + { |
| 9 | + "type": "os", |
| 10 | + "style": "powerline", |
| 11 | + "foreground": "cyan", |
| 12 | + "properties": { |
| 13 | + "prefix": "", |
| 14 | + "postfix": "", |
| 15 | + "wsl": "", |
| 16 | + "wsl_separator": "" |
| 17 | + } |
| 18 | + }, |
| 19 | + { |
| 20 | + "type": "path", |
| 21 | + "style": "plain", |
| 22 | + "foreground": "cyan", |
| 23 | + "properties": { |
| 24 | + "style": "full" |
| 25 | + } |
| 26 | + }, |
| 27 | + { |
| 28 | + "type": "git", |
| 29 | + "style": "plain", |
| 30 | + "foreground": "lightYellow", |
| 31 | + "properties": { |
| 32 | + "prefix": ":: <lightBlue>git(</>", |
| 33 | + "postfix": "<lightBlue>)</>" |
| 34 | + } |
| 35 | + } |
| 36 | + ] |
| 37 | + }, |
| 38 | + { |
| 39 | + "type": "prompt", |
| 40 | + "alignment": "right", |
| 41 | + "segments": [ |
| 42 | + { |
| 43 | + "type": "node", |
| 44 | + "style": "plain", |
| 45 | + "foreground": "#68a063", |
| 46 | + "properties": { |
| 47 | + "display_version": true, |
| 48 | + "prefix": " ", |
| 49 | + "postfix": "", |
| 50 | + "display_mode": "files", |
| 51 | + "display_package_manager": true, |
| 52 | + "yarn_icon": "/yarn", |
| 53 | + "npm_icon": "/npm" |
| 54 | + } |
| 55 | + }, |
| 56 | + { |
| 57 | + "type": "crystal", |
| 58 | + "style": "plain", |
| 59 | + "foreground": "#4063D8", |
| 60 | + "properties": { |
| 61 | + "display_version": true, |
| 62 | + "display_mode": "files", |
| 63 | + "prefix": " ", |
| 64 | + "postfix": "" |
| 65 | + } |
| 66 | + }, |
| 67 | + { |
| 68 | + "type": "ruby", |
| 69 | + "style": "plain", |
| 70 | + "foreground": "#DE3F24", |
| 71 | + "properties": { |
| 72 | + "display_version": true, |
| 73 | + "prefix": " ", |
| 74 | + "postfix": "", |
| 75 | + "display_mode": "files" |
| 76 | + } |
| 77 | + }, |
| 78 | + { |
| 79 | + "type": "python", |
| 80 | + "style": "plain", |
| 81 | + "foreground": "#FED142", |
| 82 | + "properties": { |
| 83 | + "display_virtual_env": false, |
| 84 | + "display_version": true, |
| 85 | + "prefix": " ", |
| 86 | + "postfix": "", |
| 87 | + "display_mode": "context" |
| 88 | + } |
| 89 | + }, |
| 90 | + { |
| 91 | + "type": "time", |
| 92 | + "style": "plain", |
| 93 | + "foreground": "lightGreen" |
| 94 | + } |
| 95 | + ] |
| 96 | + }, |
| 97 | + { |
| 98 | + "type": "prompt", |
| 99 | + "alignment": "left", |
| 100 | + "newline": true, |
| 101 | + "segments": [ |
| 102 | + { |
| 103 | + "type": "exit", |
| 104 | + "style": "powerline", |
| 105 | + "foreground": "lightGreen", |
| 106 | + "properties": { |
| 107 | + "display_exit_code": false, |
| 108 | + "always_enabled": true, |
| 109 | + "error_color": "red", |
| 110 | + "prefix": "\u279c" |
| 111 | + } |
| 112 | + } |
| 113 | + ] |
| 114 | + } |
| 115 | + ] |
| 116 | +} |
0 commit comments