summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-13 14:45:14 +0300
committerYigit Sever2021-10-13 14:45:14 +0300
commit8d956d0ea5b91a027222536503cc41fc683bf9da (patch)
treeedb00b8d81c75b22c95344cdf14b95ffccf385b5
parent38dc074fd2f92c216d07a841197a3e648c77f2b4 (diff)
downloaddotfiles-8d956d0ea5b91a027222536503cc41fc683bf9da.tar.gz
dotfiles-8d956d0ea5b91a027222536503cc41fc683bf9da.tar.bz2
dotfiles-8d956d0ea5b91a027222536503cc41fc683bf9da.zip
zshrc: respect nextcloud virtuals
-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 ))