This commit is contained in:
Mitchell Hashimoto
2024-06-24 16:01:02 -07:00
parent 881324b10b
commit 2246da7207

View File

@ -257,8 +257,7 @@ is launched within Ghostty and (2) to find the shell-integration.
For example, for bash, you'd put this _at the top_ of your `~/.bashrc`: For example, for bash, you'd put this _at the top_ of your `~/.bashrc`:
```bash ```bash
# Ghostty shell integration for Bash. This must be at the top of your # Ghostty shell integration for Bash. This must be at the top of your bashrc!
# bashrc!
if [ -n "${GHOSTTY_RESOURCES_DIR}" ]; then if [ -n "${GHOSTTY_RESOURCES_DIR}" ]; then
builtin source "${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash" builtin source "${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash"
fi fi
@ -266,12 +265,11 @@ fi
Each shell integration's installation instructions are documented inline: Each shell integration's installation instructions are documented inline:
| Shell | Integration | Shell | Integration |
| ------ | ----------- | ------ | ---------------------------------------------------------------------------------------------- |
| `bash` | `${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash` | `bash` | `${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash` |
| `fish` | `${GHOSTTY_RESOURCES_DIR}/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish` | `fish` | `${GHOSTTY_RESOURCES_DIR}/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish` |
| `zsh` | `${GHOSTTY_RESOURCES_DIR}/shell-integration/zsh/ghostty-integration` | `zsh` | `${GHOSTTY_RESOURCES_DIR}/shell-integration/zsh/ghostty-integration` |
### Terminfo ### Terminfo