From 89301f24b799461d97b1583c4e3cf3d7df3dbb45 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Thu, 17 Feb 2022 23:59:26 -0600 Subject: [PATCH] added alias for loffice headless. --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 383aa40..38d13ac 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -163,6 +163,8 @@ setopt NO_CASE_GLOB #sort globs that expand to numbers by number rather than alphabeticly setopt NUMERIC_GLOB_SORT + #allows for some neat globbing. + setopt EXTENDED_GLOB #aliases alias msfconsole="msfconsole --quiet -x \"db_connect ${USER}@msf\"" @@ -176,6 +178,8 @@ alias tmux='tmux -u' # needs to have a number immediately after it. alias slideshow='feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay' + # converts all .doc and .docx files in the local directory to pdfs using libreoffice + alias doc2pdf='loffice --convert-to pdf --headless *.docx#' #web searches