Fix zsh shell integration docs

- There is no need to quote variables in zsh.
- The shell integration file is not executable; we should `source` it instead.
This commit is contained in:
XiaoYan Li
2024-12-27 15:56:14 +08:00
committed by GitHub
parent a8e5eef11c
commit a295c5e884

View File

@ -73,6 +73,6 @@ sequence occurs.
```bash
if [[ -n $GHOSTTY_RESOURCES_DIR ]]; then
"$GHOSTTY_RESOURCES_DIR"/shell-integration/zsh/ghostty-integration
source $GHOSTTY_RESOURCES_DIR/shell-integration/zsh/ghostty-integration
fi
```