summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index 10fdfb9..4f37212 100644
--- a/.zshrc
+++ b/.zshrc
@@ -119,7 +119,7 @@ alias tp='trash-put'
119alias ls='exa' 119alias ls='exa'
120alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki' 120alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki'
121alias ssh='TERM=xterm-256color ssh' 121alias ssh='TERM=xterm-256color ssh'
122alias torem='cd /home/yigit/nextcloud/remind/' 122alias torem='cd /home/yigit/nextcloud/virtuals/remind/'
123alias taw='task add +next +@work' 123alias taw='task add +next +@work'
124alias tat='task add +next +@tablet pro:res.toread' 124alias tat='task add +next +@tablet pro:res.toread'
125alias tre='exa -l -T -L 2 --header --git-ignore -F -d -I node_modules' 125alias tre='exa -l -T -L 2 --header --git-ignore -F -d -I node_modules'
@@ -199,7 +199,7 @@ export WECHALLUSER="drocan"
199export WECHALLTOKEN="35624-0D38B-A2F16-A98B0-5963D-6DF19" 199export WECHALLTOKEN="35624-0D38B-A2F16-A98B0-5963D-6DF19"
200 200
201ledgerrot() { 201ledgerrot() {
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 ))