bashhub-server icon indicating copy to clipboard operation
bashhub-server copied to clipboard

Also supply a bashhub-client with some possible feature enhancements.

Open hongyi-zhao opened this issue 3 years ago • 3 comments

I noticed this wonderful project recently. It would be better if another client could have the following functions in addition to the official client functions:

  • Regexp based search, which has been implemented by bashhub-server.
  • Search with a specific directory pathname instead of only supporting the current directory.
  • Supply more options on the command detailed information panel shown in interactive search, e.g., cd to the Path, reedit the original Command before running it, and so on.

I also filed a feature request here.

Regards, HY

hongyi-zhao avatar Aug 27 '21 02:08 hongyi-zhao

Thanks for the feedback! This is a great suggestion, and I actually got started on creating a new client cli with many of the features you requested, but I unfortunately haven’t had the extra time to work on it. I would welcome a pr that creates a new binary (probably a package under command) that adds this.

nicksherron avatar Sep 01 '21 20:09 nicksherron

Btw you can already use regex search if using bashhub-server with the bashhub-client. eg

$ bh "^bash"

bashhub setup
bashhub-server version
bashhub-server --help

Is this different than what you mean here?

Regexp based search, which has been implemented by bashhub-server.

nicksherron avatar Sep 01 '21 20:09 nicksherron

Is this different than what you mean here?

The same, as I've pointed out.

BTW, I currently switched to the following combination as my shell history solution, which seems more powerful and flexible and convenient:

https://github.com/dvorka/hstr https://github.com/hongyi-zhao/ariadne

Regards, HY

hongyi-zhao avatar Sep 02 '21 01:09 hongyi-zhao