hishtory icon indicating copy to clipboard operation
hishtory copied to clipboard

Feature Request Snap/Flat/AppImage (pick one of them as you like)

Open matbgn opened this issue 3 years ago • 3 comments

Would be nice if you could deploy hishtory on one of this platform, so that corresponding manager could easily install it.

For bauh (https://github.com/vinifmor/bauh) it will be particularly appreciable.

matbgn avatar Jan 04 '23 15:01 matbgn

Just FYI: I use zinit (zsh plugin manager, but also useable as a github release downloader) and this is my line(s) for it:

# Your shell history: synced, queryable, and in context
# use the wait'0b' time slot to load it after the other plugins which try to grab ^R and which get loaded with '0a'
zinit mv'hishtory* -> hishtory' lbin'!hishtory* -> hishtory' \
  atclone"./hishtory completion zsh > _hishtory" \
  atpull"%atclone" \
  dl'https://raw.githubusercontent.com/ddworken/hishtory/master/client/lib/config.zsh -> zhook.zsh' \
  src="zhook.zsh" wait'0b' lucid bindmap'^R -> ^G' for \
  @ddworken/hishtory

(I use mcfly as my main ctrl+r widget, thats why this one is moved to ctrl+g)

jankatins avatar Jan 05 '23 00:01 jankatins

Nice trick! It smells a bit hacky to me, specifically for maintenance and generalization aspects.

In fact, I do much more prefer a solution like bauh. Moreover the goal of this issue is to facilitate spreading for new users in a kind-of one click way.

matbgn avatar Jan 05 '23 00:01 matbgn

Thanks for the suggestion! Personally, I'm a fan of the current install method since it allows hishtory to mange updates itself. So I'm somewhat unlikely to prioritize this in the short term, but if anyone wants to work on this I'd be happy to accept contributions!

ddworken avatar Feb 19 '23 05:02 ddworken