diff options
-rw-r--r-- | .zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,7 +119,7 @@ alias tp='trash-put' | |||
119 | alias ls='exa' | 119 | alias ls='exa' |
120 | alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki' | 120 | alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki' |
121 | alias ssh='TERM=xterm-256color ssh' | 121 | alias ssh='TERM=xterm-256color ssh' |
122 | alias torem='cd /home/yigit/nextcloud/remind/' | 122 | alias torem='cd /home/yigit/nextcloud/virtuals/remind/' |
123 | alias taw='task add +next +@work' | 123 | alias taw='task add +next +@work' |
124 | alias tat='task add +next +@tablet pro:res.toread' | 124 | alias tat='task add +next +@tablet pro:res.toread' |
125 | alias tre='exa -l -T -L 2 --header --git-ignore -F -d -I node_modules' | 125 | alias tre='exa -l -T -L 2 --header --git-ignore -F -d -I node_modules' |
@@ -199,7 +199,7 @@ export WECHALLUSER="drocan" | |||
199 | export WECHALLTOKEN="35624-0D38B-A2F16-A98B0-5963D-6DF19" | 199 | export WECHALLTOKEN="35624-0D38B-A2F16-A98B0-5963D-6DF19" |
200 | 200 | ||
201 | ledgerrot() { | 201 | ledgerrot() { |
202 | day=$(tail -n4 ~/nextcloud/ledger.ledger | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}') | 202 | day=$(tail -n4 ~/nextcloud/virtuals/ledger.ledger | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}') |
203 | d1=$(date -d "now" +%s) | 203 | d1=$(date -d "now" +%s) |
204 | d2=$(date -d "$day" +%s) | 204 | d2=$(date -d "$day" +%s) |
205 | days=$(( (d1 - d2) / 86400 )) | 205 | days=$(( (d1 - d2) / 86400 )) |