Cory Snider
|
f9d4a067ec
|
Reduce number of git calls when displaying prompt (#3795)
The avit theme's _git_time_since_commit function was running git twice.
Reduce it with a single call to `git log`, checking the exit code for
success.
|
2018-04-15 14:45:58 +02:00 |
Pierre Dimitrou
|
b1ab13d9e6
|
Add rbenv support for ruby version display
|
2016-05-14 22:05:35 +02:00 |
L.C. Karssen
|
55fed4f8cd
|
Fix use of CARETCOLOR in avit theme
$CARETCOLOR was not to actually colour the caret, so change to root user
wouldn't show in the prompt. Now both ▶ and ◀ follow $CARETCOLOR.
|
2016-03-07 22:15:45 +01:00 |
L.C. Karssen
|
9c36248439
|
Better visible colours in avit for Ubuntu terminal
Make some colours in the avit theme bold for better visibility in the
default Ubuntu terminal theme.
|
2016-03-07 22:14:33 +01:00 |
L.C. Karssen
|
0a47451a46
|
Updated colour of ◀ in PROMPT2 of the avit theme.
In commit 729fd53 I incorrectly only changed PROMPT1. Now both ▶ and ◀ follow $CARETCOLOR.
|
2016-01-13 10:00:32 +01:00 |
L.C. Karssen
|
63e216ba9d
|
oh-my-zsh avit theme: instead of only showing the last 3 directories in the $PWD shorten the path by removing some middle parts if $PWD becomes too long.
|
2016-01-13 10:00:32 +01:00 |
L.C. Karssen
|
18801e25d2
|
Shorter way of creating bold colours in a ZSH theme (applied to the avit theme).
|
2016-01-13 10:00:32 +01:00 |
L.C. Karssen
|
ceca00a503
|
Adapt some colours in the avit theme for better visibility in the default Ubuntu terminal theme.
|
2016-01-13 10:00:32 +01:00 |
L.C. Karssen
|
854c41d843
|
Fix in avit theme: $CARETCOLOR was not to actually colour the caret, so change to root user wouldn't show in the prompt.
|
2016-01-13 10:00:32 +01:00 |
Samuel Parkinson
|
de56943a0e
|
Improved the `_git_time_since_commit` function.
Check for at least one commit using a `git log` limit of one.
Improves the performance inside git repos with a large history.
|
2015-06-10 14:36:53 +02:00 |
Dan Kerimdzhanov
|
c249c69065
|
Remove all copyright information in themes. Closes #2587
|
2014-03-08 23:51:59 +06:00 |
Andrew Vit
|
3fea7c3b27
|
Added avit theme
|
2012-07-19 03:03:18 -07:00 |