From 5bdb033e56b95fcfe140c1e74875d55b10a31d8e Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 20 Dec 2024 21:49:53 +0100 Subject: posix-shell: Add aerc alias 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. --- posix-shell/aliases.sh | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3-70-g09d2