Commit graph

5 commits

Author SHA1 Message Date
Warren Young
033b095212 Better placement of Fossil prompt info
Instead of blindly tacking `$fossil_prompt_info` onto the end of the
prompt string and making assumptions about whether `$PROMPT` or
`$RPROMPT` are in use here, assume the user is using a theme that puts
`$git_prompt_info` in there somewhere and inject our info immediately
afterward.  The theme creator decided that's a good place for Git prompt
info, so that's a good place for Fossil prompt info, too.

This also replaces some calls out to `grep` with internal Zsh string
manipulation for less overhead.
2022-08-29 23:17:11 -06:00
Marc Cornellà
a280726d93
fix(fossil): refactor fossil_prompt_info and quote % in branch 2022-01-03 14:00:54 +01:00
CGenie
7df7d5b4f1
feat(fossil): add completion for fossil add (#8564)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-12-28 19:04:45 +01:00
wahjava
e5d206c8c8
fix(fossil): PROMPT and RPROMPT are no longer exported (#9655)
Fixes #9654
2021-03-15 23:27:57 +01:00
jgmdev
2bce3b1f58 Added fossil plugin. 2016-05-10 13:23:23 -03:00