Repository navigation
Syntax error in ghostty.bash #8641
Issue DescriptionWhen launching a new terminal, I see a syntax error from This appears to be caused by the absence of the I see this in GNU Bash 5.3.0(1)-release and 3.2.57(1)-release Expected BehaviorThe file should be evaled without errors Actual Behaviorbash: /Applications/Ghostty.app/Contents/Resources/ghostty/shell-integration/bash/ghostty.bash: line 106: syntax error near unexpected token `('
bash: /Applications/Ghostty.app/Contents/Resources/ghostty/shell-integration/bash/ghostty.bash: line 106: ` ssh() {'Reproduction Steps
Ghostty LogsNo response Ghostty VersionOS Version InformationmacOS 15.6.1 (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configuration# not applicableAdditional Relevant ConfigurationNo response I acknowledge that:
|
Answered by
rhodes-b
Sep 15, 2025
Replies: 1 comment 2 replies
|
bash does not require the function keyword, it only does when the function is already an alias to something else do you have if you modify that file and add function does it work properly? |
2 replies
Answer selected by
alassek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bash does not require the function keyword, it only does when the function is already an alias to something else do you have
sshalready as an alias?https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Shell-Functions
if you modify that file and add function does it work properly?