aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-10-05 09:16:03 +0100
committerMatthew Lemon <y@yulqen.org>2023-10-05 09:16:03 +0100
commit1a071cdc5560c5fbd14e2663062914f8f48dbed8 (patch)
treeb931d5f3d95d62e2dc5da50eaed18a65650a2b01
parent32929378c1111a4bf00caacdd422c1c8bfe1c18c (diff)
Adds alias for syncing git-annex
Diffstat (limited to '')
-rw-r--r--bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 3383e40..2b038bf 100644
--- a/bashrc
+++ b/bashrc
@@ -71,6 +71,7 @@ alias weather='curl wttr.in'
alias hn='curl hkkr.in'
alias _hl_bal_lastmonth='hledger bal --period "this month" --depth 3 Expenses'
alias qnarchive='mkdir /tmp/quicknotes && cp ~/code/html/yulqen.org/content/techjournal/quicknote_capture_* /tmp/quicknotes && cp ~/Documents/Notes/quicknote.md /tmp/quicknotes && tar czf quicknotes.tgz -C /tmp/quicknotes .'
+alias annex-sync='cd ~/annex/ && git annex sync && cd -'
# Environment variables
export LEDGER_FILE="$HOME/Budget/hledger/budget.ledger"