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,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