1
0
Fork 0
mirror of synced 2024-11-16 13:05:35 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Colin Jamison
772ed86501 Conditionally bind zle widget 2017-01-21 18:15:25 +01:00
Colin Jamison
4a373bca4a Implement config variable
This allows for an env variable of ZIM_PROMPT_INSERTMODE to be set
to determine if an indicator is shown.
2017-01-21 18:10:32 +01:00
Colin Jamison
2a1a3cd45a Implement keymode indicator 2017-01-21 18:00:14 +01:00
Eric Nielsen
c1b02c06d0 Remove git_prompt_info and parse_git_dirty
as they were only being used by gitster prompt theme and kept for
Oh-My-Zsh compatibility. The newly introduced git-info module (inspired
by the git-info Prezto function) provides a more powerful
implementation than the Oh-My-Zsh inspired git_prompt_info.

Updated gitster to use the git-info module.

Closes #124
2017-01-19 05:10:19 -08:00
Cenk Gündoğan
fcc4c573a8 [prompt] fix gitster path to reflect git repo
allow optional parameter for short_pwd

Closes #41
2016-04-02 13:33:01 -07:00
Matt Hamilton
9f838982fb [prompt] syntax refactor 2016-01-07 08:10:29 -05:00
caedus75
b46edd43a8 [prompt] add setup function to themes
proper setup and preview of themes with 'prompt' function

closes #12, closes #15
2016-01-07 08:07:11 -05:00
Matt Hamilton
5f68411637 [prompt] gitster: use short_pwd 2016-01-06 09:41:40 -05:00
caedus75
f2806b45bf fix prompt substitutions/expansions
The 'prompt' function disables any option set with 'setopt'.
To make options persistent we need to use the 'prompt_opts' array
instead

Closes #8
2015-12-30 04:42:31 -05:00
Matt Hamilton
1ee4d85547 fix gitster prompt 2015-12-27 21:13:08 -05:00
Matt Hamilton
02ec35a8d4 add gitster theme 2015-12-18 11:02:56 -05:00