Update something
This commit is contained in:
parent
e3c94cce54
commit
147ca5ddbc
81 changed files with 3055 additions and 326 deletions
77
ohmyposh/.mycat.omp.toml
Normal file
77
ohmyposh/.mycat.omp.toml
Normal file
|
@ -0,0 +1,77 @@
|
|||
console_title_template = '{{.Folder}}'
|
||||
version = 3
|
||||
final_space = true
|
||||
|
||||
[palette]
|
||||
blue = '#8CAAEE'
|
||||
closer = 'p:os'
|
||||
lavender = '#BABBF1'
|
||||
os = '#ACB0BE'
|
||||
pink = '#F4B8E4'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{.Icon}} '
|
||||
foreground = 'p:os'
|
||||
type = 'os'
|
||||
style = 'plain'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ .Shell}} '
|
||||
foreground = 'p:blue'
|
||||
type = 'session'
|
||||
style = 'plain'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ .Folder}} '
|
||||
foreground = 'p:pink'
|
||||
type = 'path'
|
||||
style = 'plain'
|
||||
|
||||
[blocks.segments.properties]
|
||||
folder_icon = '..'
|
||||
hide_root_location = true
|
||||
home_icon = '~'
|
||||
max_depth = 1
|
||||
style = 'agnoster_short'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }} '
|
||||
foreground = 'p:lavender'
|
||||
type = 'git'
|
||||
style = 'plain'
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = ' '
|
||||
cherry_pick_icon = ' '
|
||||
commit_icon = ' '
|
||||
fetch_status = false
|
||||
fetch_upstream_icon = false
|
||||
merge_icon = ' '
|
||||
no_commits_icon = ' '
|
||||
rebase_icon = ' '
|
||||
revert_icon = ' '
|
||||
tag_icon = ' '
|
||||
|
||||
[[blocks.segments]]
|
||||
template = ''
|
||||
foreground = 'p:closer'
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
|
||||
[[blocks]]
|
||||
type = 'rprompt'
|
||||
overflow = 'hidden'
|
||||
|
||||
[[blocks.segments]]
|
||||
template = '{{ .FormattedMs }}'
|
||||
foreground = '#F47AD4'
|
||||
background = 'transparent'
|
||||
type = 'executiontime'
|
||||
style = 'plain'
|
||||
|
||||
[blocks.segments.properties]
|
||||
threshold = 5000
|
78
ohmyposh/.mycat.omp.toml.bak
Normal file
78
ohmyposh/.mycat.omp.toml.bak
Normal file
|
@ -0,0 +1,78 @@
|
|||
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||
|
||||
version = 2
|
||||
final_space = true
|
||||
console_title_template = '{{.Folder}}'
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'os'
|
||||
style = 'plain'
|
||||
foreground = 'p:os'
|
||||
template = '{{.Icon}} '
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'session'
|
||||
style = 'plain'
|
||||
foreground = 'p:blue'
|
||||
template = '{{ .Shell}} '
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'path'
|
||||
style = 'plain'
|
||||
foreground = 'p:pink'
|
||||
template = '{{ .Folder}} '
|
||||
|
||||
[blocks.segments.properties]
|
||||
folder_icon = '..'
|
||||
home_icon = '~'
|
||||
style = 'agnoster_short'
|
||||
hide_root_location = true
|
||||
max_depth = 1
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'git'
|
||||
style = 'plain'
|
||||
foreground = 'p:lavender'
|
||||
template = '{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }} '
|
||||
|
||||
[blocks.segments.properties]
|
||||
branch_icon = ' '
|
||||
cherry_pick_icon = ' '
|
||||
commit_icon = ' '
|
||||
fetch_status = false
|
||||
fetch_upstream_icon = false
|
||||
merge_icon = ' '
|
||||
no_commits_icon = ' '
|
||||
rebase_icon = ' '
|
||||
revert_icon = ' '
|
||||
tag_icon = ' '
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'text'
|
||||
style = 'plain'
|
||||
foreground = 'p:closer'
|
||||
template = ''
|
||||
[[blocks]]
|
||||
type = 'rprompt'
|
||||
overflow = 'hidden'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'executiontime'
|
||||
style = 'plain'
|
||||
foreground = '#F47AD4'
|
||||
background = 'transparent'
|
||||
template = '{{ .FormattedMs }}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
threshold = 5000
|
||||
|
||||
[palette]
|
||||
blue = '#8CAAEE'
|
||||
closer = 'p:os'
|
||||
lavender = '#BABBF1'
|
||||
os = '#ACB0BE'
|
||||
pink = '#F4B8E4'
|
84
ohmyposh/mytheme.omp.json
Normal file
84
ohmyposh/mytheme.omp.json
Normal file
|
@ -0,0 +1,84 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
||||
"blocks": [
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#ffbebc",
|
||||
"leading_diamond": "<#ff70a6> \ue200 </>",
|
||||
"properties": {
|
||||
"display_host": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": "{{ .PWD }} <#ffffff>on</>",
|
||||
"type": "session"
|
||||
},
|
||||
{
|
||||
"foreground": "#bc93ff",
|
||||
"properties": {
|
||||
"time_format": "Monday <#ffffff>at</> 3:04 PM"
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .CurrentDate | date .Format }} ",
|
||||
"type": "time"
|
||||
},
|
||||
{
|
||||
"foreground": "#ee79d1",
|
||||
"properties": {
|
||||
"branch_icon": "\ue725 ",
|
||||
"fetch_stash_count": true,
|
||||
"fetch_status": true,
|
||||
"fetch_upstream_icon": true,
|
||||
"fetch_worktree_count": true
|
||||
},
|
||||
"style": "diamond",
|
||||
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}",
|
||||
"type": "git"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
},
|
||||
{
|
||||
"alignment": "left",
|
||||
"newline": true,
|
||||
"segments": [
|
||||
{
|
||||
"foreground": "#ffafd2",
|
||||
"leading_diamond": "<#00c7fc> \ue285 </><#ffafd2>{</>",
|
||||
"properties": {
|
||||
"folder_icon": "\uf07b",
|
||||
"folder_separator_icon": "..",
|
||||
"home_icon": "home",
|
||||
"style": "full"
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \ue5ff {{ .Path }} ",
|
||||
"trailing_diamond": "<#ffafd2>}</>",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"foreground": "#A9FFB4",
|
||||
"foreground_templates": [
|
||||
"{{ if gt .Code 0 }}#ef5350{{ end }}"
|
||||
],
|
||||
"properties": {
|
||||
"always_enabled": true
|
||||
},
|
||||
"style": "plain",
|
||||
"template": " \ue286 ",
|
||||
"type": "status"
|
||||
}
|
||||
],
|
||||
"type": "prompt"
|
||||
}
|
||||
],
|
||||
"console_title_template": "{{ .Folder }}",
|
||||
"transient_prompt": {
|
||||
"background": "transparent",
|
||||
"foreground": "#FEF5ED",
|
||||
"template": "\ue285 "
|
||||
},
|
||||
"version": 2
|
||||
}
|
24
ohmyposh/posh.toml
Normal file
24
ohmyposh/posh.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||
|
||||
version = 2
|
||||
final_space = true
|
||||
console_title_template = '{{.Folder}}'
|
||||
|
||||
|
||||
[[blocks]]
|
||||
type = 'prompt'
|
||||
alignment = 'left'
|
||||
newline = true
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'path'
|
||||
style = 'plain'
|
||||
template = '{{ .RootDir }}'
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
||||
[transient_prompt]
|
||||
foreground = "#F4B8E4"
|
||||
background = 'transparent'
|
||||
template = '❯ '
|
Loading…
Add table
Add a link
Reference in a new issue