Hacker Newsnew | past | comments | ask | show | jobs | submit | nicksherron's commentslogin

I'm actually interested in people's opinions on this. I'm only returning commands with exit status 0 or 130. Not sure if what the best approach is.


Maybe filter out repeats of anything with an exit code other than 0 or 130, but still log the command itself? Sometimes I will run a command a few times since I know we've either hit an API limit, or I'm testing incremental changes.


Yes, the big benefit, to me at least, is being able to access bash or zsh history on multiple machines. I'll spin up a server for testing or to add workers to some job and it's really quick and convenient to install bashhub the new machine. I just wasn't comfortable using the open-source client to send all my shell history to a closed-source backend and wanted better command querying so I wrote the bashhub-server. If you're primarily working on one machine I'm not sure how beneficial it is if at all, but if you find yourself using ssh somewhat frequently it's really nice.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: