Fix pdfr alias

This commit is contained in:
dogeystamp 2021-10-06 14:37:02 -04:00
parent 8bc8845fee
commit 9f9e2812db
No known key found for this signature in database
GPG Key ID: 4C53B0126F579F36

View File

@ -14,7 +14,9 @@ alias dnl='xsel -b | tr "\n" " " | xsel -ib'
alias nvimp='nvim -u NONE -c "setlocal history=0 nobackup nomodeline noshelltemp noswapfile noundofile nowritebackup secure viminfo=\"\""'
# Read pdf file as text
alias pdfr='pdftotext $1 - | nvim'
pdfr () {
pdftotext $1 - | nvim
}
# Specific to my Gentoo system
alias genlop='doas -u portage /usr/bin/genlop'