mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Add back quotes for variables in the zsh shell integration to improve compatibility (#3989)
https://github.com/ghostty-org/ghostty/pull/3332#issuecomment-2564526118 According to this comment, using variables without quoting may not work with `setopt SH_WORD_SPLIT`. We don't need to quote variables in `[[ ]]` because it works differently.
This commit is contained in:
@ -73,6 +73,6 @@ sequence occurs.
|
||||
|
||||
```bash
|
||||
if [[ -n $GHOSTTY_RESOURCES_DIR ]]; then
|
||||
source $GHOSTTY_RESOURCES_DIR/shell-integration/zsh/ghostty-integration
|
||||
source "$GHOSTTY_RESOURCES_DIR"/shell-integration/zsh/ghostty-integration
|
||||
fi
|
||||
```
|
||||
|
Reference in New Issue
Block a user