mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-17 15:21:50 +00:00
shell-integration: bash must be explicitly enabled
For now, bash integration must be explicitly enabled (by setting `shell-integration = bash`). Our automatic shell integration requires bash version 4 or later, and systems like macOS continue to ship bash version 3 by default. This approach avoids the cost of performing a runtime version check.
This commit is contained in:
@@ -18,7 +18,11 @@ our integration script (`bash/ghostty.bash`). This prevents Bash from loading
|
||||
its normal startup files, which becomes our script's responsibility (along with
|
||||
disabling POSIX mode).
|
||||
|
||||
Because automatic Bash shell integration requires Bash version 4 or later, it
|
||||
must be explicitly enabled (`shell-integration = bash`).
|
||||
|
||||
Bash shell integration can also be sourced manually from `bash/ghostty.bash`.
|
||||
This also works for older versions of Bash.
|
||||
|
||||
### Elvish
|
||||
|
||||
|
Reference in New Issue
Block a user