diff --git a/src/config/Config.zig b/src/config/Config.zig index 0f9efd34d..dee2fe10a 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -2070,9 +2070,10 @@ keybind: Keybinds = .{}, /// * `ssh-terminfo` - Enable automatic terminfo installation on remote hosts. /// Attempts to install Ghostty's terminfo entry using `infocmp` and `tic` when /// connecting to hosts that lack it. Requires `infocmp` to be available locally -/// and `tic` to be available on remote hosts. Provides `+list-ssh-cache` and -/// `+clear-ssh-cache` CLI actions for managing the installation cache (caching -/// is otherwise automatic and requires no user intervention). +/// and `tic` to be available on remote hosts. Once terminfo is installed on a +/// remote host, it will be automatically "cached" to avoid repeat installations. +/// If desired, the `+ssh-cache` CLI action can be used to manage the installation +/// cache manually using various arguments. /// /// SSH features work independently and can be combined for optimal experience: /// when both `ssh-env` and `ssh-terminfo` are enabled, Ghostty will install its diff --git a/src/shell-integration/README.md b/src/shell-integration/README.md index 36a6f9de1..1fd11091d 100644 --- a/src/shell-integration/README.md +++ b/src/shell-integration/README.md @@ -88,23 +88,3 @@ if [[ -n $GHOSTTY_RESOURCES_DIR ]]; then source "$GHOSTTY_RESOURCES_DIR"/shell-integration/zsh/ghostty-integration fi ``` - -## Shared Resources - -The `shared/` directory contains utilities available to all shell integrations: - -### ghostty-ssh-cache - -> [!NOTE] -> -> This script requires `bash` to be available in the system PATH. - -This is a standalone script that manages the SSH terminfo host cache for the -`ssh-terminfo` shell integration feature. This script handles cache file -operations (list, clear, check, add) and is called by all shell integrations -when `ssh-terminfo` is enabled. It is also called by the `+list-ssh-cache` -and `+clear-ssh-cache` CLI actions, providing users with direct cache -management capabilities. - -The shared approach maintains separation of concerns by keeping shell-specific -integration files independent of secondary logic.