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

Use debug trap mechanism inspired by starship command #150469

Merged
merged 1 commit into from May 26, 2022
Merged

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented May 26, 2022

Fixes #150423


This moves the mechanism for preexec to what starship does when it doesn't look like bash_preexec is installed (that can come later). By moving over to this tried and true method it fixes #150423 and hopefully makes things more reliable.

I tested this both with and without starship init and exit codes functioned correctly for both.

@Tyriar Tyriar added this to the May 2022 milestone May 26, 2022
@Tyriar Tyriar self-assigned this May 26, 2022
Copy link
Member

@lramos15 lramos15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw star ship command and thought this was a star trek PR. I was a bit disappointed but it looks good

@Tyriar Tyriar merged commit 21a10ca into main May 26, 2022
@Tyriar Tyriar deleted the tyriar/150423 branch May 26, 2022 17:20
@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shell integration not playing nice with starship
2 participants