aboutsummaryrefslogtreecommitdiff
path: root/.aliases
diff options
context:
space:
mode:
Diffstat (limited to '.aliases')
-rw-r--r--.aliases5
1 files changed, 5 insertions, 0 deletions
diff --git a/.aliases b/.aliases
index 40f2084..4a3136d 100644
--- a/.aliases
+++ b/.aliases
@@ -21,4 +21,9 @@ command -v tig &> /dev/null && alias tigs='tig status'
alias g='git'
+if command -v hledger &> /dev/null && \
+ [ -f "$HOME/.hledger" ]; then
+ alias hledger="$(command -v hledger) @$HOME/.hledger"
+fi
+
# vim: ft=sh