Add subdirectories for macbook and tongfang with config (#4)

This commit is contained in:
Bart van der Braak 2024-10-16 22:27:09 +02:00 committed by GitHub
parent b743abcde5
commit 10a876fcc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,71 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#ffffff",
"style": "plain",
"template": "<#C591E8>\u276f</><#69FF94>\u276f</> ",
"type": "text"
},
{
"foreground": "#56B6C2",
"properties": {
"style": "folder"
},
"style": "plain",
"template": "{{ .Path }} ",
"type": "path"
},
{
"foreground": "#D0666F",
"properties": {
"branch_icon": ""
},
"style": "plain",
"template": "<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>",
"type": "git"
},
{
"foreground": "#DCB977",
"style": "plain",
"template": " \uf119 ",
"type": "status"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"foreground": "#ffffff",
"properties": {
"command": "git log --pretty=format:%cr -1 || date +%H:%M:%S",
"shell": "bash"
},
"style": "plain",
"template": " {{ .Output }} ",
"type": "command"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#ffffff",
"style": "plain",
"template": "\uf441 ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 2
}

View file

@ -0,0 +1,86 @@
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version = 2
[[blocks]]
type = 'prompt'
alignment = 'left'
[[blocks.segments]]
type = 'text'
style = 'plain'
template = '<#C591E8></><#69FF94></> '
background = ''
foreground = '#ffffff'
Text = ''
Duration = 0
NameLength = 0
[[blocks.segments]]
type = 'path'
style = 'plain'
template = '{{ .Path }} '
background = ''
foreground = '#56B6C2'
Text = ''
Duration = 0
NameLength = 0
[blocks.segments.properties]
style = 'folder'
[[blocks.segments]]
type = 'git'
style = 'plain'
template = '<#5FAAE8>git:(</>{{ .HEAD }}<#5FAAE8>)</>'
background = ''
foreground = '#D0666F'
Text = ''
Duration = 0
NameLength = 0
[blocks.segments.properties]
branch_icon = ''
[[blocks.segments]]
type = 'status'
style = 'plain'
template = '  '
background = ''
foreground = '#DCB977'
Text = ''
Duration = 0
NameLength = 0
[[blocks]]
type = 'prompt'
alignment = 'right'
[[blocks.segments]]
type = 'command'
style = 'plain'
template = ' {{ .Output }} '
background = ''
foreground = '#ffffff'
Text = ''
Duration = 0
NameLength = 0
[blocks.segments.properties]
command = 'git log --pretty=format:%cr -1 || date +%H:%M:%S'
shell = 'bash'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
type = 'text'
style = 'plain'
template = ' '
background = ''
foreground = '#ffffff'
Text = ''
Duration = 0
NameLength = 0