summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-02 11:40:39 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-02 11:40:39 -0700
commit54f799dfa43683fa953538892c58809bc7afb8dd (patch)
tree738984bbcfa31922d3c55265c0ec3797ee6a04d7 /.bashrc
parentfc842c2e3a6d1bdc6e3371e05c0a9fd69020d2fc (diff)
downloaddotfiles-54f799dfa43683fa953538892c58809bc7afb8dd.tar.gz
fix soffice-pdf-all
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 2e34cf1f..7f52fe38 100644
--- a/.bashrc
+++ b/.bashrc
@@ -57,7 +57,6 @@ alias whitenoise="echo -en \"\033]0;whitenoise\a\";\
alias rld="git diff @{1}..@{0}"
alias athvpn="sshuttle -r athena 0/0 --dns"
alias soffice-pdf="soffice --headless --convert-to pdf"
-alias soffice-pdf-all="for f in *.doc *.docx; do soffice --headless --convert-to pdf \"$f\"; done"
alias spwrex="rex -f $HOME/src/dotfiles/Rexfile"
alias host-suite-build-deps='mk-build-deps -ir -s sudo -t \
@@ -211,6 +210,13 @@ pdfwords () {
pdftotext "$1" - | wc -w
}
+# also see soffice-pdf alias above
+soffice-pdf-all () {
+ for f in *.doc *.docx; do
+ soffice --headless --convert-to pdf "$f"
+ done
+}
+
# Debian archive processing logs
alias tail-dak="ssh ftp-master.debian.org tail -F \
/srv/ftp-master.debian.org/log/current"