Commit Graph

22 Commits

Author SHA1 Message Date
f8b51e49da Support customizing HISHTORY_PATH for people who want to install hishtory in an alternate location to fix #54 2022-12-16 22:22:57 -08:00
857e423e10 Fix linter errors + some general clean up 2022-12-11 20:31:50 -08:00
35444bf56e Swap ioutil to non-deprecated alternatives + clean up pre-commit errors 2022-11-27 11:59:06 -08:00
86f9d67aff Fix test failures caused by the cobra install command not respecting the secret key
Also added a persistLog() function so that I can easily inspect the hishtory logs from test runs.
2022-11-16 20:28:25 -08:00
49a1035169 Fix flakey test failures by removing cache=shared which is a discouraged mode (https://www.sqlite.org/sharedcache.html). WAL is sufficient for our purposes. Plus fix a bug where the TUI would go into an infinite loop if there were zero results. 2022-11-15 23:20:19 -08:00
53a417296e Improve backup and restore env function + fix makefile with quotes + remove the zdotdir created file 2022-11-13 16:53:37 -08:00
cda9c886e1 Introduce a helper method for checking if we're in github actions 2022-11-12 06:46:37 -08:00
ddc9dc1080 Better reset the local state to attempt to fix a github action failure 2022-11-12 06:42:10 -08:00
36ff3d362c windows: use a temp file rather than hardcoding /tmp/ since that doesn't exist on windows 2022-11-06 17:46:45 -08:00
456513d71e windows: restore the cd ../ behavior, but for windows 2022-11-06 14:42:01 -08:00
4a9b202e5f Windows: handle failing to read the VERSION file 2022-11-06 00:17:03 -07:00
6938035715 Windows: handle failing to read the VERSION file 2022-11-06 00:16:14 -07:00
f4925a0999 Windows: Disable killall on windows 2022-11-06 00:02:48 -07:00
c87ae611fb Just for fun, re-enable tests on github actions 2022-11-05 23:44:01 -07:00
e46221f893 Revert all the windows+freebsd commits since they seem to be hopelessly broken 2022-11-04 23:14:34 -07:00
43cc45b80d Add workaround for testutils searching for the hishtory dir 2022-11-04 21:50:45 -07:00
d4ca466314 Import initial history from fish too 2022-11-03 22:32:55 -07:00
c1d17842c4 Write the config fragment to the bash_profile for MacOs to fix #14 2022-11-03 21:01:57 -07:00
185d2739c7 Add offline mode for hiSHtory 2022-11-03 13:16:45 -07:00
17ae676da0 Add uninstall command + tests for uninstall 2022-11-02 19:41:49 -07:00
0f9e77223e Chdir so that we have a consistent cwd for github actions 2022-10-29 17:53:40 -07:00
cdc5421a7b Move testutils to a separate package so as to move test-only code out of the main binary 2022-10-27 21:53:47 -07:00