diff options
author | Guangxiong Lin <[email protected]> | 2024-03-03 13:32:56 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2024-03-03 13:32:56 +0800 |
commit | f3388ed729f8d8463b31a7166332a7ac6b389047 (patch) | |
tree | bdf744347496a980b843a6bca2d0c2ef62018bcf /.aliases | |
parent | cf1b8d1b947f1213ce02bb8fcf04001509aab68b (diff) | |
download | dotfiles-f3388ed729f8d8463b31a7166332a7ac6b389047.tar.gz dotfiles-f3388ed729f8d8463b31a7166332a7ac6b389047.tar.bz2 dotfiles-f3388ed729f8d8463b31a7166332a7ac6b389047.zip |
Add alias for hledger
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |