f294eeb57175f5ef86f903d41c84ecacd96fe00c
- Author
- Roman Kamyk <roman.kamyk@gmail.com>
- Committer
- Roman Kamyk <roman.kamyk@gmail.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/themes/rkj.zsh-theme b/themes/rkj.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..fa950b255083eee2757ab455ef43caf85129f03f
4--- /dev/null
5+++ b/themes/rkj.zsh-theme
6@@ -0,0 +1,15 @@
7+# user, host, full path, and time/date
8+# on two lines for easier vgrepping
9+# entry in a nice long thread on the Arch Linux forums: http://bbs.archlinux.org/viewtopic.php?pid=521888#p521888
10+
11+function hg_prompt_info {
12+ hg prompt --angle-brackets "\
13+<hg:%{$fg[magenta]%}<branch>%{$reset_color%}>\
14+</%{$fg[yellow]%}<tags|%{$reset_color%}, %{$fg[yellow]%}>%{$reset_color%}>\
15+%{$fg[green]%}<status|modified|unknown><update>%{$reset_color%}<
16+patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset_color%})|pre_unapplied(%{$fg_bold[black]%})|post_unapplied(%{$reset_color%})>>" 2>/dev/null
17+}
18+