general cleanup

This commit is contained in:
Felix Van der Jeugt 2024-07-24 08:35:41 +02:00
parent ffced8fca4
commit 3ffb35cc2e
No known key found for this signature in database
GPG key ID: 58B209295023754D
25 changed files with 149 additions and 120 deletions

7
zshrc
View file

@ -77,13 +77,16 @@ alias nano="vis"
alias agent='eval "$(ssh-agent)" && ssh-add'
alias unlock='gpg-connect-agent <<<bye'
alias weechat="ssh -t weechat@Hetzner abduco -A weechat"
alias ncspot="abduco -A ncspot ncspot"
alias weechat="ssh -t weechat@Hetzner ./weechat.sh"
function agenda() {
khal calendar --format '{calendar-color}{cancelled}{start-end-time-style}{repeat-symbol} {title}{reset}' ${@:-today 2d}
}
function magnet() {
ssh Tumbrel "transmission-remote --add '$(xclip -o -sel c)'"
}
# Ledger
alias haccounts="hledger -I --alias '/.*:Accounts [^:]*:(.*)/=Accounts:\1' bal accounts"
alias is='hledger is -b $(date -d "7 months ago" +%Y-%m) -e $(date +%Y-%m) -MTA --tree -2'