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