Skip to content

VCS-agnostic prompts#2592

Closed
faho wants to merge 6 commits into
fish-shell:masterfrom
faho:vcs-prompt
Closed

VCS-agnostic prompts#2592
faho wants to merge 6 commits into
fish-shell:masterfrom
faho:vcs-prompt

Conversation

@faho
Copy link
Copy Markdown
Member

@faho faho commented Dec 9, 2015

This ports the prompts that actually used __fish_git_prompt to a new function __fish_vcs_prompt that just calls all shipped vcs prompts.

This should close #2431.

The remaining questions are:

  • Do we mark which vcs it is?
  • Do we rename the prompts ("Informative Git" to "Informative VCS", even though it doesn't enable an informative mode for other prompts, "Classic + Git" to "Classic + VCS", even though it has universal variables with a "__fish_classic_git" prefix)?

CC @Siecje, @derekstavis.

@faho
Copy link
Copy Markdown
Member Author

faho commented Dec 9, 2015

This also touches #2582, which should also be added to __fish_vcs_prompt once it's merged.

faho added 5 commits December 10, 2015 18:19
This is supposed to be used by prompts so they'll get all known vcsen
integrated.

For now, there's no distinction between the different vcsen.
Keep the name as that's used in variables.
A few options were missing and --asroot has been removed
@faho
Copy link
Copy Markdown
Member Author

faho commented Dec 16, 2015

Merged as baa6971..482cfca.

@faho faho closed this Dec 16, 2015
@faho faho deleted the vcs-prompt branch December 16, 2015 18:06
@zanchey zanchey added this to the next-2.x milestone Dec 17, 2015
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 17, 2020
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.

Add Mercurial to Git Prompt

2 participants