historian icon indicating copy to clipboard operation
historian copied to clipboard

fzf / output format

Open notDavid opened this issue 7 years ago • 1 comments

Hi there,

do you have any idea why historian doesn't work with fzf ?

After installing fzf i simply changed history to hist / in https://github.com/junegunn/fzf/blob/master/shell/key-bindings.bash#L58 and this works when searching in the history by pressing CTRL+R in the terminal. But when selecting one of the items in the list, that item doesn't get output/pasted back to the terminal.

I noticed that the output format of historian is different from the default 'history', so perhaps that is the issue? If so, it would be cool if the output format would be equal to history, for better compatibility with other tools.

Thank you!

$ history | grep -i 'test 123'
  520  echo "test 123"
$
$ hist /'test 123'
1923
    echo "test 123"
$

notDavid avatar Aug 31 '18 11:08 notDavid

Very interesting idea! I'll tinker when I have a moment.

jcsalterego avatar Aug 31 '18 12:08 jcsalterego

@notDavid (Years later) Are you still running into this issue with fzf or did you move on? :)

jcsalterego avatar Feb 08 '23 18:02 jcsalterego

Hi there @jcsalterego, yes i moved on indeed :-) I'm now using this via Fish.

So feel free to close the issue if you want to.

notDavid avatar Feb 08 '23 18:02 notDavid

@notDavid Nice! Thanks

jcsalterego avatar Feb 08 '23 18:02 jcsalterego