dotfiles/private_dot_config/private_fish/functions
Anton Volnuhin 1590a272aa kitty: color terminal tabs by ssh/mosh host
Tint the kitty tab background by target host so local vs remote (and
which remote) is visible at a glance.

- __kitty_host_color: explicit color table for known hosts (routers,
  resolvers, ryzen/mini, personal cloud, geo VPS) + stable hashed
  palette fallback; auto-picks readable fg by luminance
- __kitty_ssh_host: parse target host from ssh/mosh-style argv
- __kitty_tab_set/__kitty_tab_reset: active tab = full host-color bg,
  inactive tab = dark theme bg with host-color text; revert on exit
- ssh wrapper + s (kitten ssh) and m (mosh) wired to tint/reset

Also includes unrelated pending dotfile changes (GH MCP PAT from
keychain in fish/zsh, kitty/wezterm font_size 15->14, kitty
colorspace displayp3) committed together at user request.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-19 23:08:32 +03:00
..
__kitty_host_color.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_ssh_host.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_tab_reset.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_tab_set.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
n.fish lazygit, dust, nnn, mc, nethogs, ngrep, mtr, tmux, jq 2023-06-01 10:42:00 +03:00
ssh.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
tide-reset.fish new tide config, cmd+N for kitty, slightly bigger font in kitty 2026-04-05 19:36:34 +03:00