Add pacite alias
This commit is contained in:
parent
38874209a8
commit
bd187aacf2
2 changed files with 10 additions and 0 deletions
|
|
@ -486,6 +486,8 @@ papis export --format bibtex query_term > references.bib
|
|||
#### Workflow Aliases:
|
||||
```bash
|
||||
pals # List documents with formatted template
|
||||
pabib # Export documents in BibTeX format
|
||||
pacite # Format documents as citation strings
|
||||
pafile filename.pdf # Add file from ~/Downloads/
|
||||
paopen # Open documents interactively
|
||||
pafinder "query" # Open document directory in Finder
|
||||
|
|
|
|||
|
|
@ -62,6 +62,11 @@
|
|||
}}
|
||||
'';
|
||||
|
||||
# Papis citation template
|
||||
home.file."Library/Application Support/papis/templates/citation.template".text = ''
|
||||
{doc[author]}. "{doc[title]}." {doc[journal]}{doc[booktitle]} ({doc[year]}).
|
||||
'';
|
||||
|
||||
# Shell aliases for papis workflow
|
||||
programs.zsh.shellAliases = {
|
||||
# Bibliography formatting
|
||||
|
|
@ -70,6 +75,9 @@
|
|||
# BibTeX export
|
||||
pabib = "papis list --template \"$HOME/Library/Application Support/papis/templates/bibtex.template\"";
|
||||
|
||||
# Citation formatting
|
||||
pacite = "papis list --template \"$HOME/Library/Application Support/papis/templates/citation.template\"";
|
||||
|
||||
# File operations
|
||||
paurl = "papis addto -u";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue