Eric Nielsen
7ff1f72160
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.
2017-01-16 14:02:06 -05:00
Eric Nielsen
708f17b18f
Update magicmace theme to use the git-info module
2017-01-16 10:26:17 -08:00
Matt Hamilton
cb8617d3f4
[prompt] pure: update submodule
...
Closes #113
2017-01-05 22:34:00 -08:00
Matt Hamilton
1073feb097
[prompt] lean: update submodule
2017-01-05 22:33:37 -08:00
Matt Hamilton
02a68bea57
[prompt] lean: update submodule
...
Closes #110
2016-12-11 09:48:47 -08:00
Matt Hamilton
5798afae97
[prompt] pure: update submodule
2016-12-01 23:51:59 -08:00
Matt Hamilton
edfa747047
[prompt] liquidprompt: update submodule
2016-12-01 23:51:59 -08:00
Matt Hamilton
7da3437b3f
[prompt] lean: update submodule
2016-12-01 23:51:59 -08:00
Matt Hamilton
ee9559eb74
[prompt] pure: update submodule
2016-10-25 16:17:14 -07:00
Matt Hamilton
99a45de4d6
[prompt] liquidprompt: update submodule
2016-10-25 16:16:57 -07:00
Matt Hamilton
e209799a5c
[prompt] pure: update submodule
2016-09-27 16:40:00 -07:00
Matt Hamilton
b5134b8ab2
[prompt] liquidprompt: update submodule
2016-09-27 16:39:35 -07:00
Eric Nielsen
40ef228286
[prompt] magicmace: fix tab completion
...
The offender was `print -P`, where `-P` does [prompt
expansion](http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Prompt-Expansion ).
I took the freedom to also change a few things:
Move the `add-zsh-hook precmd` up,
add `prompt_magicmace_` prefix to all function names,
add `COLOR_` prefix to all color global variables,
and move assignment to `PROMPT` to `prompt_magicmace_setup`.
Fixes #70 , Closes #81
2016-09-27 15:58:45 -07:00
Matt Hamilton
a9c8269291
[prompt] pure: update submodule
2016-09-04 08:46:06 -07:00
Fernando Barillas
1b44eb6404
[prompt] Add lean prompt: github.com/miekg/lean
...
Closes #71
2016-08-15 20:31:17 -07:00
Matt Hamilton
8ac887e8e9
[prompt] pure: update submodule
2016-07-27 19:41:05 -07:00
Tmplt
0a33a3de90
[prompt] magicmace: add theme
...
Closes #69
2016-07-27 19:36:43 -07:00
Matt Hamilton
474b7e1add
[prompt] pure: update submodule
2016-07-26 13:50:52 -07:00
Matt Hamilton
1af72f41a2
[prompt] liquidprompt: update submodule
2016-07-26 13:50:34 -07:00
nshtg
3a37a3f0e1
[prompt] steeef: always update git information
...
steeef would not update the git information if we stayed in the same directory.
Fixes #66 . Closes #67 .
2016-07-26 13:48:39 -07:00
Amin Bandali
6b2dad4bd1
[prompt] steeef: '#' prompt for privileged users
...
Use `%(!.#.$)` which will display `$` for normal users and `#` for privileged users
Closes #65
2016-07-26 13:36:12 -07:00
Tmplt
5f7a75a969
[prompt] add ranger indicator to eriner theme
...
closes #64
2016-07-17 08:18:49 -07:00
Matt Hamilton
926b47a65d
[prompt] update "liquidprompt" theme submodule
2016-06-03 21:27:11 -07:00
Matt Hamilton
296c457ead
[prompt] update "pure" theme submodule
2016-05-02 07:36:18 -07: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
983919fce4
[prompt] update "pure" theme submodule
2016-03-27 18:48:11 -04:00
Matt Hamilton
f404c5ba9f
[prompt] update "pure" theme submodule
2016-02-17 10:09:36 -05:00
Matt Hamilton
9468a6219a
[prompt] update "pure" theme submodule
2016-02-07 23:42:16 -05:00
Matt Hamilton
cb12222811
use 'command git' in prompts
...
Fixes Zim issue with interation with any functions or aliases that wrap
'git'. See issue #30 for more information.
2016-02-04 15:08:22 -05:00
Matt Hamilton
0dc32b8957
update submodules
2016-01-20 22:10:39 -05:00
Matt Hamilton
5bc9889ca4
update submodules
2016-01-18 17:39:30 -05:00
Matt Hamilton
d13614e3bb
[prompt] change unset variable test
...
The old test, [[ ${var} ]] tests for unset AND zero-length strings.
Checking for zero length strings probably isn't that important. It is
enough to ensure that the variable is set.
Closes #18
2016-01-08 09:16:22 -05: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
Matt Hamilton
be23020b2e
[prompt] eriner: use short_pwd
2016-01-05 04:15:21 -05:00
Matt Hamilton
69b194302c
[prompt] add short_pwd func
2016-01-05 04:15:13 -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
b7977d28f2
add powerline symbols note
2015-12-29 11:19:36 -05:00
Matt Hamilton
1ee4d85547
fix gitster prompt
2015-12-27 21:13:08 -05:00
Matt Hamilton
598326aa9f
fix minimal prompt
2015-12-27 21:11:58 -05:00
Matt Hamilton
5572a2330d
update steef again
2015-12-22 10:52:15 -05:00
Matt Hamilton
6fa8dcb95d
update steeef prompt
2015-12-22 09:47:19 -05:00
Matt Hamilton
fb549f108a
use autoload -Uz, not -U
2015-12-21 20:16:43 -05:00
Matt Hamilton
3fce9ee626
move themes to wiki, add links
2015-12-18 12:04:35 -05:00
Matt Hamilton
02ec35a8d4
add gitster theme
2015-12-18 11:02:56 -05:00
Matt Hamilton
5cf08f503f
add minimal prompt
2015-12-18 10:51:58 -05:00
Matt Hamilton
a08039ca4a
add locale safety and user check
2015-12-18 10:11:49 -05:00
Matt Hamilton
818beef89d
add liquidprompt
2015-12-18 03:56:51 -05:00
Matt Hamilton
c58e75ca82
add pure prompt
2015-12-18 03:49:51 -05:00