summaryrefslogtreecommitdiff
path: root/posix-shell/aliases.sh
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-12-20 21:49:53 +0100
committerxengineering <me@xengineering.eu>2024-12-20 21:49:53 +0100
commit5bdb033e56b95fcfe140c1e74875d55b10a31d8e (patch)
treee3937dc97774e1a9cb3d3226d1763c796ea5baaf /posix-shell/aliases.sh
parentb8978975603bc644a1bfe040f97d8f87cf91c9f0 (diff)
downloaddotfiles-main.tar
dotfiles-main.tar.zst
dotfiles-main.zip
posix-shell: Add aerc aliasHEADmain
This prefixes `aerc` with `mbsync -a &&`. While I prefer IMAP connections on aerc I want to regularly copy all mails from the server to my machine to have a backup on disk. This can be viewed even without an internet connection and is included in my BTRFS-based snapshot backups.
Diffstat (limited to 'posix-shell/aliases.sh')
-rw-r--r--posix-shell/aliases.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix-shell/aliases.sh b/posix-shell/aliases.sh
index 1d23f33..7d37e85 100644
--- a/posix-shell/aliases.sh
+++ b/posix-shell/aliases.sh
@@ -18,3 +18,4 @@ alias note='"${EDITOR}" "$(mktemp)"'
alias nolink='cd $(pwd -P)'
alias zephyr='export ZEPHYR_BASE="${HOME}/zephyrproject/zephyr" && source "${HOME}/zephyrproject/.venv/bin/activate"'
alias myrename="perl-rename 's/[^a-zA-Z0-9äöüÄÖÜß\.\/]+/-/g; s/^-+|-+$//g; \$_ = lc(\$_)'"
+alias aerc="mbsync -a && aerc"