Commit Graph

29 Commits

Author SHA1 Message Date
Justin Hileman
870ab7c9be Fix some edge cases when nerd fonts are on and powerline fonts are explicitly disabled. 2020-05-02 09:19:59 -07:00
Justin Hileman
6e75f31c3f Add timezone support to right prompt.
Allow overriding the right prompt datestamp timezone:

```
set -g theme_date_timezone America/Los_Angeles
```
2020-04-21 13:54:33 -07:00
Justin Hileman
5e19f4f6c9 Fix function descriptions for a couple of helpers. 2019-03-18 07:43:38 -07:00
Justin Hileman
b13f022708 Stop stripping trailing zeros from duration in 3.0
Fixes #184
2019-01-16 08:18:57 -08:00
Justin Hileman
a2b56a33fb Reformat with fish_indent 2019-01-13 09:56:20 -08:00
Justin Hileman
4e602d98d7 Fix fish < 2.4 command duration regression
For real this time

Fixes #107
2017-10-01 18:30:49 -07:00
Justin Hileman
0f2a2d9ada Fix fish < 2.4 command duration regression.
See #105

Fixes #107
2017-09-29 07:33:48 -07:00
Justin Hileman
d87e9486f8 Fix command duration in Fish 3.x
Drive-by: fix string replacement regex for rounding off >1h.

Fixes #105
2017-09-02 23:30:53 -07:00
Justin Hileman
908a7b5365 s/sed/string replace builtin/g 2017-01-29 20:02:01 -08:00
Justin Hileman
73b3bd0ea3 Work around $CMD_DURATION bug in fish < 2.5.0
Fixes #67
2017-01-21 05:12:59 -08:00
zaclimon
f9414db37d Add an option to hide the cmd duration 2016-07-17 18:39:07 -04:00
Justin Hileman
fc50e9d6c5 Only show right prompt separator when date and cmd duration exist.
See #48
2016-06-08 01:20:35 -07:00
Sven A. Schmidt
32cfd83157 Hide $__bobthefish_left_arrow_glyph when $theme_display_date = "no" 2016-06-08 08:35:52 +01:00
Sven A. Schmidt
d730526c07 Added settings variables to allow date and docker display to be made conditional 2016-06-07 08:31:34 +01:00
Sven A. Schmidt
da7e2f1b49 Disabled datetime 2016-06-01 14:48:57 +01:00
Justin Hileman
bece163f67 Merge pull request #42 from caesar/theme_powerline_fonts
Add option to not use Powerline glyphs
2016-05-18 21:45:41 -07:00
Caesar Schinas
cb4f97fe96 Make using Powerline glyphs the default 2016-05-15 22:18:28 -03:00
Caesar Schinas
ac57f8959b Add option to not use Powerline glyphs 2016-05-15 20:43:01 -03:00
Caesar Schinas
3f907d7b3f Fix right prompt colour when $fish_color_autosuggestion is bold 2016-05-15 19:55:44 -03:00
Justin Hileman
e01fe9aaac Fix leaky colors from the right prompt
Fixes #31
2016-04-04 11:36:11 -04:00
Justin Hileman
088a0f44e0 Consistency++
* Only use if/end blocks for things longer than one line.
 * Only use inline `[ foo ]; and bar` style when `bar` is `return`. Break the `and`/`or` onto a second line for anything that actually has a side effect.
 * More consistent use of `echo` flags.
 * Don't use `pwd` when `$PWD` will do.
2016-03-29 23:55:58 -07:00
Jelte Fennema
4e4182f28e Reset --bold as well after long long running command 2016-03-29 20:27:54 +02:00
Justin Hileman
c54707a136 No need for sed fallback, fish expects bc anyway.
+ use fish math wrapper

See #21
2016-02-22 22:07:43 -08:00
Justin Hileman
ebe5e04f9e Add awk maths fallback for systems without bc.
See #21
2016-02-20 00:08:05 -08:00
Justin Hileman
1f96c8ffab Add last command duration to the right prompt.
* only if it was > 100ms
 * in human friendly units
 * and make it pop if > 60s

Fixes #21
2016-02-19 22:48:18 -08:00
Justin Hileman
ad41beee1b Update comments and readme for vi mode. 2015-11-22 07:48:49 -08:00
Justin Hileman
00f5578311 Allow overriding the right prompt date format.
set -g theme_date_format "+%a %H:%M"

… or something like that :)

See #11
2015-10-13 14:18:48 -07:00
Justin Hileman
706f0def36 Fix theme function descriptions. 2014-05-14 12:50:14 -04:00
Justin Hileman
4daec4a503 Add bobthefish theme. 2013-09-26 12:46:14 -07:00