Repository navigation
Fixing zsh shell integration when aliases for sudo and/or ssh exist
#11164
What do you want to change?Hi! I am Michiel and recently switched from Alacritty to Ghostty. I noticed the shell integrations did not work for me, so after some debugging I encountered following discussion and PR: #8641 and #8647. The same issue is present for Zsh, and I have prepared a commit that solves this issue: Michielvk@e07aefa. I don't personally need to become a maintainer, but would like to see this fixed. If I get vouched I will submit the PR, but it would be fine as well if an already vouched maintainer could fix this. Thanks in advance! Why do you want to make this change?Zsh shell integrations do not work if you have an alias defined for One of my aliases is: alias sudo='sudo 'Which causes following error when sourcing the zsh shell integrations: source /usr/share/ghostty/shell-integration/zsh/ghostty-integration
/usr/share/ghostty/shell-integration/zsh/ghostty-integration:149: defining function based on alias `sudo'
/usr/share/ghostty/shell-integration/zsh/ghostty-integration:233: parse error near `()'I acknowledge that:
|
Answered by
mitchellh
Mar 5, 2026
Replies: 1 comment
|
!vouch |
0 replies
Answer selected by
mitchellh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!vouch