mirror of
https://github.com/mqttr/dotfiles.git
synced 2025-12-15 12:25:51 -06:00
Added SSH Session in OMP
This commit is contained in:
@@ -11,12 +11,19 @@ console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||
type = 'path'
|
||||
style = 'plain'
|
||||
background = 'transparent'
|
||||
foreground = 'blue'
|
||||
foreground = 'p:orange'
|
||||
template = "{{ .Path }}"
|
||||
|
||||
[blocks.segments.properties]
|
||||
style = 'full'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'session'
|
||||
style = 'plain'
|
||||
foreground = 'blue'
|
||||
background = 'transparent'
|
||||
template = '{{ if .SSHSession }} {{.UserName}}@{{.HostName}}{{end}}'
|
||||
|
||||
[[blocks.segments]]
|
||||
type = 'git'
|
||||
style = 'plain'
|
||||
|
||||
Reference in New Issue
Block a user