1
0
Fork 0
mirror of synced 2024-09-19 12:02:53 -04:00
Commit graph

5 commits

Author SHA1 Message Date
Chet Gurevitch
f10724541e Make zim location configurable and install to XDG_DATA_HOME by default 2017-09-04 13:32:08 -07:00
Eric Nielsen
695d46284c [meta] use uname -a to prevent OS conflicts
Fix `uname` calls with `-o` parameter, as this is not BSD compatible.
As per @Eriner, use `uname -a` instead as a "catch-all" parameter.

Fixes #75, Closes #79
2016-09-28 03:02:10 -07:00
Eric Nielsen
f812c1bb6a [debug] Refactor debug module
Use `$PS4` debugging prompt to generate timestamps, instead of GNU `date`.
This also keeps timestamps and respective command together, something
that `paste` could not guarantee given some commands may have multiple lines.

The prompt timestamp has a precision of 6 decimals. The `printf "%12.9f\n"`
instruction with 9 decimals was kept to keep producing "the **SAME** output".
This could be replaced to `printf "%12.6f\n"` to make the output
smaller.
Also, only the first line of commands with multiple lines are saved, to
keep the output format backwards-compatible.

Closes #84
2016-09-27 15:59:02 -07:00
Matt Hamilton
5cccdc255b cleanup trace function a bit 2015-12-27 19:33:30 -05:00
Matt Hamilton
50c8f70179 add debug module 2015-12-27 19:13:57 -05:00