From 9f9e2812dbd3b69f4a8972fddea6b84a7349b326 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Wed, 6 Oct 2021 14:37:02 -0400 Subject: [PATCH] Fix pdfr alias --- .config/zsh/aliases.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh index 3350a17..3006b46 100644 --- a/.config/zsh/aliases.zsh +++ b/.config/zsh/aliases.zsh @@ -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'