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

util: add zsh prompt #348

Closed
wants to merge 1 commit into from
Closed

util: add zsh prompt #348

wants to merge 1 commit into from

Conversation

vegerot
Copy link
Contributor

@vegerot vegerot commented Dec 22, 2022

util: add zsh prompt

Summary: Add shell prompt for Sapling. The current prompt only supports git
and hg, but not sl. Since the hg prompt should work the same for sl, use
_hg_prompt for Sapling if a .sl directory exists

Test Plan: Blocked by #447
TODO: copy .hg testcases from eden/scm/tests/test-fb-ext-scm-prompt-hg.t


Stack created with Sapling. Best reviewed with ReviewStack.

@vegerot vegerot changed the title placeholder for pull request util: add zsh prompt Dec 22, 2022
@vegerot vegerot force-pushed the pr348 branch 2 times, most recently from 5b92e9a to 944e65d Compare January 11, 2023 18:51
Summary: Add shell prompt for Sapling.  The current prompt only supports git
and hg, but not sl.  Since the `hg` prompt should work the same for `sl`, use
`_hg_prompt` for Sapling if a `.sl` directory exists

Test Plan: Blocked by facebook#447
TODO: copy `.hg` testcases from `eden/scm/tests/test-fb-ext-scm-prompt-hg.t`
@facebook-github-bot
Copy link
Contributor

@quark-zju has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants