Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that we're using the builtin exec #628

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

jeebak
Copy link

@jeebak jeebak commented Aug 29, 2021

I have a wrapper shell function for exec() in my environment which started to behave unexpectedly after I updated zsh-autosuggestions. I'm using the unset ZSH_AUTOSUGGEST_USE_ASYNC suggestion from the README as a workaround for now, but it'd be nice to enable async. This PR added the builtin precommand modifier to all occurances to exec in the code to ensure we use the builtin exec command "rather than a shell function or external command".

@ericfreese ericfreese merged commit 2c9e57f into zsh-users:develop Sep 7, 2023
@ericfreese
Copy link
Member

Thanks!

@jeebak jeebak deleted the develop branch September 7, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants