Commit Graph

6 Commits (ed4d206bf6d383e526140099980d292493ab7634)

Author SHA1 Message Date
Cristian Lupascu ed4d206bf6 Powerline prompt section to display last command duration
Human display of the last command duration, if threshold exceeded

Add configurable threshold for prompt duration display (5s)

Nicer format for the time
2020-08-18 23:29:55 +03:00
Noah Gorny 8d9f81fce0 lib: Add get-component-name/type-from-path 2020-07-02 20:13:57 +03:00
cornfeedhobo d4c2f8b73f
nit pick cleanup 2020-03-08 23:53:27 -05:00
Eivind Uggedal 4ea5fe57c9
utilities.bash: fix tiny typo 2019-04-14 22:31:38 +02:00
Kyle Welsby fedb72b34f
Fixes exit 1 issue when tmp cache doesn't exist
Found if this `${cache}` file doesn't exist, the single line conditional command would return false causing a `exit 1`.

This little change makes the conditional verbose and not cause a false return failing the function.
2019-01-16 17:36:57 +00:00
Konstantin Gredeskoul 09c2be9d6b Refactor (extract utilities + add tests) & more…
* Extracting common utilities into utilities.bash
 * Adding new tests for utilities
 * Relocating the cache file to be under $BASH_IT
 * Removing cache cleanup deferral code for now
 * Wiping the cache in local_setup in tests.
2018-11-23 16:40:35 -08:00