1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-05 05:01:43 +00:00
dotfiles/scripts/.bin/copybib
J. Fernando Sánchez f0202964ec Several changes
* Compton improvements
* Add a wide screen layout
* Set termite as the default terminal
* Update spacemacs
* Add script to copy bibtex entries from zotero
2018-04-20 11:42:22 +02:00

5 lines
166 B
Bash
Executable File

#!/bin/sh
cat ~/Exported\ Items.bib | sed -n 's/@.*{\(.*\),/\\cite{\1}/p' | xclip -selection clipboard
sleep 1
cat ~/Exported\ Items.bib | xclip -selection clipboard