Justin Hileman
5e19f4f6c9
Fix function descriptions for a couple of helpers.
6 years ago
Justin Hileman
b13f022708
Stop stripping trailing zeros from duration in 3.0
...
Fixes #184
6 years ago
Justin Hileman
a2b56a33fb
Reformat with `fish_indent`
6 years ago
Justin Hileman
4e602d98d7
Fix fish < 2.4 command duration regression
...
For real this time
Fixes #107
7 years ago
Justin Hileman
0f2a2d9ada
Fix fish < 2.4 command duration regression.
...
See #105
Fixes #107
7 years ago
Justin Hileman
d87e9486f8
Fix command duration in Fish 3.x
...
Drive-by: fix string replacement regex for rounding off >1h.
Fixes #105
7 years ago
Justin Hileman
908a7b5365
s/sed/string replace builtin/g
8 years ago
Justin Hileman
73b3bd0ea3
Work around $CMD_DURATION bug in fish < 2.5.0
...
Fixes #67
8 years ago
zaclimon
f9414db37d
Add an option to hide the cmd duration
8 years ago
Justin Hileman
fc50e9d6c5
Only show right prompt separator when date and cmd duration exist.
...
See #48
8 years ago
Sven A. Schmidt
32cfd83157
Hide `$__bobthefish_left_arrow_glyph` when `$theme_display_date = "no"`
8 years ago
Sven A. Schmidt
d730526c07
Added settings variables to allow date and docker display to be made conditional
8 years ago
Sven A. Schmidt
da7e2f1b49
Disabled datetime
8 years ago
Justin Hileman
bece163f67
Merge pull request #42 from caesar/theme_powerline_fonts
...
Add option to not use Powerline glyphs
8 years ago
Caesar Schinas
cb4f97fe96
Make using Powerline glyphs the default
8 years ago
Caesar Schinas
ac57f8959b
Add option to not use Powerline glyphs
8 years ago
Caesar Schinas
3f907d7b3f
Fix right prompt colour when $fish_color_autosuggestion is bold
8 years ago
Justin Hileman
e01fe9aaac
Fix leaky colors from the right prompt
...
Fixes #31
9 years ago
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.
9 years ago
Jelte Fennema
4e4182f28e
Reset --bold as well after long long running command
9 years ago
Justin Hileman
c54707a136
No need for sed fallback, fish expects bc anyway.
...
+ use fish math wrapper
See #21
9 years ago
Justin Hileman
ebe5e04f9e
Add awk maths fallback for systems without bc.
...
See #21
9 years ago
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
9 years ago
Justin Hileman
ad41beee1b
Update comments and readme for vi mode.
9 years ago
Justin Hileman
00f5578311
Allow overriding the right prompt date format.
...
set -g theme_date_format "+%a %H:%M"
… or something like that :)
See #11
9 years ago
Justin Hileman
706f0def36
Fix theme function descriptions.
11 years ago
Justin Hileman
4daec4a503
Add bobthefish theme.
11 years ago