Compare commits
3 Commits
ffaafb4533
...
9b23cb492e
Author | SHA1 | Date | |
---|---|---|---|
9b23cb492e | |||
9f965f7be3 | |||
95eedcfaf5 |
@ -1,67 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
|
|
||||||
"palette": {
|
|
||||||
"os": "#ACB0BE",
|
|
||||||
"closer": "p:os",
|
|
||||||
"pink": "#F5C2E7",
|
|
||||||
"lavender": "#B4BEFE",
|
|
||||||
"blue": "#89B4FA"
|
|
||||||
},
|
|
||||||
"blocks": [
|
|
||||||
{
|
|
||||||
"alignment": "left",
|
|
||||||
"segments": [
|
|
||||||
{
|
|
||||||
"foreground": "p:os",
|
|
||||||
"style": "plain",
|
|
||||||
"template": "{{.Icon}} ",
|
|
||||||
"type": "os"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:blue",
|
|
||||||
"style": "plain",
|
|
||||||
"template": "{{ .UserName }} ",
|
|
||||||
"type": "session"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:pink",
|
|
||||||
"properties": {
|
|
||||||
"folder_icon": "..\ue5fe..",
|
|
||||||
"home_icon": "~",
|
|
||||||
"style": "agnoster_short"
|
|
||||||
},
|
|
||||||
"style": "plain",
|
|
||||||
"template": "{{ .Path }} ",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"foreground": "p:lavender",
|
|
||||||
"properties": {
|
|
||||||
"branch_icon": "\ue725 ",
|
|
||||||
"cherry_pick_icon": "\ue29b ",
|
|
||||||
"commit_icon": "\uf417 ",
|
|
||||||
"fetch_status": false,
|
|
||||||
"fetch_upstream_icon": false,
|
|
||||||
"merge_icon": "\ue727 ",
|
|
||||||
"no_commits_icon": "\uf0c3 ",
|
|
||||||
"rebase_icon": "\ue728 ",
|
|
||||||
"revert_icon": "\uf0e2 ",
|
|
||||||
"tag_icon": "\uf412 "
|
|
||||||
},
|
|
||||||
"template": "{{ .HEAD }} ",
|
|
||||||
"style": "plain",
|
|
||||||
"type": "git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"style": "plain",
|
|
||||||
"foreground": "p:closer",
|
|
||||||
"template": "\uf105",
|
|
||||||
"type": "text"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"type": "prompt"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"final_space": true,
|
|
||||||
"version": 2
|
|
||||||
}
|
|
67
zsh/.config/oh-my-posh/theme.toml
Normal file
67
zsh/.config/oh-my-posh/theme.toml
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||||
|
|
||||||
|
version = 2
|
||||||
|
final_space = true
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'session'
|
||||||
|
style = 'diamond'
|
||||||
|
powerline_symbol = ''
|
||||||
|
leading_diamond = ''
|
||||||
|
template = '{{ .UserName }}@{{ .HostName }}'
|
||||||
|
background = 'p:blue'
|
||||||
|
foreground = 'p:text'
|
||||||
|
Text = ''
|
||||||
|
Duration = 0
|
||||||
|
NameLength = 0
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'path'
|
||||||
|
style = 'powerline'
|
||||||
|
powerline_symbol = ''
|
||||||
|
template = ' {{ .Path }}'
|
||||||
|
background = 'p:pink'
|
||||||
|
foreground = 'p:text'
|
||||||
|
Text = ''
|
||||||
|
Duration = 0
|
||||||
|
NameLength = 0
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
folder_icon = ''
|
||||||
|
home_icon = '~'
|
||||||
|
style = 'agnoster_short'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'git'
|
||||||
|
style = 'powerline'
|
||||||
|
powerline_symbol = ''
|
||||||
|
template = ' {{ .HEAD }}'
|
||||||
|
background = 'p:lavender'
|
||||||
|
foreground = 'p:text'
|
||||||
|
Text = ''
|
||||||
|
Duration = 0
|
||||||
|
NameLength = 0
|
||||||
|
|
||||||
|
[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 = ' '
|
||||||
|
|
||||||
|
[palette]
|
||||||
|
blue = '#8AADF4'
|
||||||
|
lavender = '#B7BDF8'
|
||||||
|
os = '#ACB0BE'
|
||||||
|
pink = '#F5BDE6'
|
||||||
|
text = '#494D64'
|
||||||
|
wight = '#FFFFFF'
|
@ -28,7 +28,7 @@ export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
|||||||
|
|
||||||
# ---- Oh-My-Posh ----
|
# ---- Oh-My-Posh ----
|
||||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
||||||
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.json)"
|
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.toml)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ---- Zoxide (better cd) ----
|
# ---- Zoxide (better cd) ----
|
||||||
|
Loading…
Reference in New Issue
Block a user