Commit graph

25 commits

Author SHA1 Message Date
Steve Lessard Jr
2db53ff1da
fix(avit): RPROMPT Fix for #10307 (#11131)
Co-authored-by: Steve Lessard <slessardjr@users.noreply.github.com>
2023-10-13 15:26:16 -07:00
Mathieu Fenniak
da7ea13ba9
fix(avit): replace deprecated GREP_COLOR (#11168) 2022-11-23 18:56:26 +01:00
Marc Cornellà
9c84c344d7
fix: disable log.showSignature in git log calls 2022-01-10 19:39:05 +01:00
WeZZard
971683762e
fix(avit): disable log.showSignatures in _git_time_since_commit (#10072) 2022-01-10 18:38:35 +01:00
Marc Cornellà
02d07f3e3d
fix: use $USERNAME guaranteed to always be defined in zsh
Fixes #9701
2021-03-25 12:08:00 +01:00
Marc Cornellà
bcc859e012 avit: reenable use of $fg instead of prompt sequence colors to fix weird bug
Fixes #9232
2020-09-26 12:15:59 +02:00
Marc Cornellà
8cb449ee20 avit: fix $reset_color sequence in prompt
Fixes #8952
2020-05-23 18:02:54 +02:00
Marc Cornellà
d959283898 avit: fix prompt sequence (fixes #8678) 2020-02-25 12:21:06 +01:00
Marc Cornellà
d76258ff55 avit: add years since last commit if appropriate 2020-02-19 18:19:46 +01:00
Marc Cornellà
77813a330b avit: clean up theme code 2020-02-19 17:24:20 +01:00
Marc Cornellà
443ad88024 avit: replace custom prompt functions with OMZ ones
Fixes #8637
2020-02-19 16:53:32 +01:00
Ezequiel Pochiero
f96d18ca93 avit: fix handling of time since last commit (#7350) 2018-10-27 17:09:55 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
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