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

feat: Terminate $PROMPT_COMMAND properly #799

Merged
merged 1 commit into from
Jan 4, 2020
Merged

feat: Terminate $PROMPT_COMMAND properly #799

merged 1 commit into from
Jan 4, 2020

Conversation

InNoobWeTrust
Copy link
Contributor

@InNoobWeTrust InNoobWeTrust commented Jan 1, 2020

feat: Add trailing semicolon to end $PROMPT_COMMAND properly.
This will prevent starship_precmd to accidentally mess with other hooks invoked after it.

Description

Just add trailing semicolon to end the command properly

Motivation and Context

Just to make starship play nice with any hooks invoked after it.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

Add trailing semicolon to end $PROMPT_COMMAND properly.
This will prevent starship_precmd to accidentally mess with other hooks invoked after it.
@chipbuster chipbuster changed the title End $PROMPT_COMMAND properly feat: Terminate $PROMPT_COMMAND properly Jan 2, 2020
Copy link
Contributor

@chipbuster chipbuster left a comment

Choose a reason for hiding this comment

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

LGTM!

@matchai matchai merged commit 2eeaa05 into starship:master Jan 4, 2020
@InNoobWeTrust InNoobWeTrust deleted the patch-2 branch January 5, 2020 08:43
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

3 participants