mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
docs: add shared directory section to shell-integration README
This commit is contained in:
@ -88,3 +88,17 @@ 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`: 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.
|
||||
|
Reference in New Issue
Block a user