msprev / fzf-bibtex

a BibTeX source for fzf
BSD 3-Clause "New" or "Revised" License
129 stars 15 forks source link

bibtex-cite appends % to the key #19

Closed gerstorfer closed 4 years ago

gerstorfer commented 4 years ago

bibtex-cite appends an unwanted % to the key. This happens even on a fresh installation, doing only:

$ echo @sprevak | bibtex-cite
 @sprevak%
msprev commented 4 years ago

I can't reproduce this. I think that the "%" is your shell's representation of a newline character. When I run the command I just get

@sprevak⏎ 

which is my shell's way of representing that the output is terminated with a newline.

You could try echo @sprevak | bibtex-cite | more to see if you still get the '%' sign?

gerstorfer commented 4 years ago

I think you might be right. It was a zsh feature I wasn't aware of. Sorry to bother you with my late night mystery problems.

msprev commented 4 years ago

Great -- good to know!