my mom does not work with zsh idk why lol

This commit is contained in:
lickthecheese 2020-09-27 00:15:38 -04:00
parent 4fcfe7cf10
commit af55c83e9d

6
.vimrc
View file

@ -10,9 +10,9 @@ command Tmome :r ~/Documents/templates/english.mom
command Tmd :r ~/Documents/templates/md.html
" run groff+refer on file
:command Groff !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf > ${p::-4}.pdf
:command Grofft !p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -T ascii > ${p::-4}.txt
:command Man !p="%"; groff -man -T ascii ${p::-4}.man > ${p::-4}.txt
:command Groff !sh -c 'p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -Tpdf > ${p::-4}.pdf'
:command Grofft !sh -c 'p="%"; refer -PS -e -p ~/Documents/bib ${p::-4}.mom | groff -mom -T ascii > ${p::-4}.txt'
:command Man !sh -c 'p="%"; groff -man -T ascii ${p::-4}.man > ${p::-4}.txt'
:command Md !p="%"; cmark --unsafe ${p::-3}.md | h2p - ${p::-3}.pdf