Add pacite alias

This commit is contained in:
Yan Lin 2025-08-03 16:44:10 +08:00
parent 38874209a8
commit bd187aacf2
2 changed files with 10 additions and 0 deletions

View file

@ -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";