Skip to main content

Module config

Module config 

Source
Expand description

Application configuration modules.

Top-level functions in this module handle loading and persisting the host list (hosts.toml).

Modules§

app_config
snippets
ssh_config
Parser for ~/.ssh/config.

Functions§

load_all_hosts
Loads all hosts: manually-added (hosts.toml) merged with hosts imported from ~/.ssh/config.
load_hosts
Loads manually-added hosts from ~/.config/omnyssh/hosts.toml.
save_hosts
Persists the manually-added hosts (source == Manual) to ~/.config/omnyssh/hosts.toml.