added alias for loffice headless.

This commit is contained in:
Gabe Venberg 2022-02-17 23:59:26 -06:00
parent 19511c84c6
commit 89301f24b7

View file

@ -163,6 +163,8 @@
setopt NO_CASE_GLOB setopt NO_CASE_GLOB
#sort globs that expand to numbers by number rather than alphabeticly #sort globs that expand to numbers by number rather than alphabeticly
setopt NUMERIC_GLOB_SORT setopt NUMERIC_GLOB_SORT
#allows for some neat globbing.
setopt EXTENDED_GLOB
#aliases #aliases
alias msfconsole="msfconsole --quiet -x \"db_connect ${USER}@msf\"" alias msfconsole="msfconsole --quiet -x \"db_connect ${USER}@msf\""
@ -176,6 +178,8 @@
alias tmux='tmux -u' alias tmux='tmux -u'
# needs to have a number immediately after it. # needs to have a number immediately after it.
alias slideshow='feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay' 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 #web searches