Skip to content

sql shell prompt includes branch name#7242

Merged
macneale4 merged 11 commits intomainfrom
macneale4/sql-shell-prompt
Jan 5, 2024
Merged

sql shell prompt includes branch name#7242
macneale4 merged 11 commits intomainfrom
macneale4/sql-shell-prompt

Conversation

@macneale4
Copy link
Copy Markdown
Contributor

@macneale4 macneale4 commented Jan 3, 2024

Three changes to the dolt sql shell:

  • Show the branch you are on: mydb/main>
  • Show the workspace is dirty with a "*" in the prompt
  • Add color to the DB name, branch, and dirty status.

@macneale4 macneale4 force-pushed the macneale4/sql-shell-prompt branch from 1bfda67 to 790f011 Compare January 5, 2024 00:43
@macneale4 macneale4 marked this pull request as ready for review January 5, 2024 00:44
@macneale4 macneale4 requested a review from stephkyou January 5, 2024 17:16
Copy link
Copy Markdown
Contributor

@stephkyou stephkyou left a comment

Choose a reason for hiding this comment

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

Looks great! Very excited for the new prompt :)

@macneale4 macneale4 merged commit f3d20a2 into main Jan 5, 2024
@macneale4 macneale4 deleted the macneale4/sql-shell-prompt branch January 11, 2024 18:20
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.

2 participants