Live data from Hacker News

Show HN: HiSHtory: Your shell history in context, synced, and queryable

github.com

21–30 of 75 posts

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#22

I do something similar but much, much simpler with a 4-line `precmd` [1] in my .zshrc file. It just records timestamp, directory and command to a file per day. Then you can use standard grep & standard tools to find things. [1] https://til.marcuse.info/bash/bash-infinite-history.html

Same but with bash, and sqlite on the backend, fzy on the frontend: https://github.com/csdvrx/bash-timestamping-sqlite

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#25
post #21

Looks cool. Is it possible to disable sync? For security reasons, I would rather keep everything local

See https://github.com/ddworken/hishtory/issues/4 This isn't supported quite yet, but is the next item on the road map.

Though keep in mind that all history entries are end to end encrypted, so even with syncing enabled, your shell history isn't accessible to the backend.

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#27

An uninstall feature would be useful.

See https://github.com/ddworken/hishtory/issues/6 for info on how to disable control-R and how to uninstall. And sorry about this, I agree that a cleaner way to uninstall is needed and will get this implemented soon!

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#28

Earlier quoted context omitted.

See https://github.com/ddworken/hishtory/issues/4 This isn't supported quite yet, but is the next item on the road map.

Though keep in mind that all history entries are end to end encrypted, so even with syncing enabled, your shell history isn't accessible to the backend.

It would still reassure some people who are skittish about that sort of thing; I can think of people I would otherwise recommend it to who would would automatically say no if it syncs.

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#29

An uninstall feature would be useful.

See https://github.com/ddworken/hishtory/issues/6 for info on how to disable control-R and how to uninstall. And sorry about this, I agree that a cleaner way to uninstall is needed and will get this implemented soon!

cool. nice interface!

another suggestion is to have a setting for the timestamp format

Re: Show HN: HiSHtory: Your shell history in context, synced, and queryable

#30

Earlier quoted context omitted.

Though keep in mind that all history entries are end to end encrypted, so even with syncing enabled, your shell history isn't accessible to the backend.

It would still reassure some people who are skittish about that sort of thing; I can think of people I would otherwise recommend it to who would would automatically say no if it syncs.

Agreed! I'll make sure to get this implemented ASAP. :)
Post reply on HN