mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-21 22:00:36 -05:00
* add terminal (ssh) apis * add core terminal exec method * terminal typescript client method * terminals WIP * backend for pty * add ts responses * about wire everything * add new blog * credit Skyfay * working * regen lock * 1.17.4-dev-1 * pty history * replace the test terminal impl with websocket (pty) * create api and improve frontend * fix fe * terminals * disable terminal api on periphery * implement write level terminal perms * remove unneeded * fix clippy * delete unneeded * fix waste cpu cycles * set TERM and COLORTERM for shell environment * fix xterm scrolling behavior * starship promp in periphery container terminal * kill all terminals on periphery shutdown signal * improve starship config and enable ssl in compose * use same scrollTop setter * fix periphery container distribution link * support custom command / args to init terminal * allow fully configurable init command * docker exec into container * add permissioning for container exec * add starship to core container * add delete all terminals * dev-2 * finished gen client * core need curl * hide Terminal trigger if disabled * 1.17.4
68 lines
1.3 KiB
TOML
68 lines
1.3 KiB
TOML
## This is used to customize the shell prompt in Periphery container for Terminals
|
||
|
||
"$schema" = 'https://starship.rs/config-schema.json'
|
||
|
||
add_newline = true
|
||
|
||
format = "$time$hostname$container$memory_usage$all"
|
||
|
||
[character]
|
||
success_symbol = "[❯](bright-blue bold)"
|
||
error_symbol = "[❯](bright-red bold)"
|
||
|
||
[package]
|
||
disabled = true
|
||
|
||
[time]
|
||
format = "[❯$time](white dimmed) "
|
||
time_format = "%l:%M %p"
|
||
utc_time_offset = '-5'
|
||
disabled = true
|
||
|
||
[username]
|
||
format = "[❯ $user]($style) "
|
||
style_user = "bright-green"
|
||
show_always = true
|
||
|
||
[hostname]
|
||
format = "[❯ $hostname]($style) "
|
||
style = "bright-blue"
|
||
ssh_only = false
|
||
|
||
[directory]
|
||
format = "[❯ $path]($style)[$read_only]($read_only_style) "
|
||
style = "bright-cyan"
|
||
|
||
[git_branch]
|
||
format = "[❯ $symbol$branch(:$remote_branch)]($style) "
|
||
style = "bright-purple"
|
||
|
||
[git_status]
|
||
style = "bright-purple"
|
||
|
||
[rust]
|
||
format = "[❯ $symbol($version )]($style)"
|
||
symbol = "rustc "
|
||
style = "bright-red"
|
||
|
||
[nodejs]
|
||
format = "[❯ $symbol($version )]($style)"
|
||
symbol = "nodejs "
|
||
style = "bright-red"
|
||
|
||
[memory_usage]
|
||
format = "[❯ mem ${ram} ${ram_pct}]($style) "
|
||
threshold = -1
|
||
style = "white"
|
||
|
||
[cmd_duration]
|
||
format = "[❯ $duration]($style)"
|
||
style = "bright-yellow"
|
||
|
||
[container]
|
||
format = "[❯ 🦎 core container ]($style)"
|
||
style = "bright-green"
|
||
|
||
[aws]
|
||
disabled = true
|