From 8d956d0ea5b91a027222536503cc41fc683bf9da Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 13 Oct 2021 14:45:14 +0300 Subject: zshrc: respect nextcloud virtuals --- .zshrc | 4 ++-- 1 file 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' alias ls='exa' alias wim='nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki' alias ssh='TERM=xterm-256color ssh' -alias torem='cd /home/yigit/nextcloud/remind/' +alias torem='cd /home/yigit/nextcloud/virtuals/remind/' alias taw='task add +next +@work' alias tat='task add +next +@tablet pro:res.toread' alias tre='exa -l -T -L 2 --header --git-ignore -F -d -I node_modules' @@ -199,7 +199,7 @@ export WECHALLUSER="drocan" export WECHALLTOKEN="35624-0D38B-A2F16-A98B0-5963D-6DF19" ledgerrot() { - day=$(tail -n4 ~/nextcloud/ledger.ledger | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}') + day=$(tail -n4 ~/nextcloud/virtuals/ledger.ledger | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}') d1=$(date -d "now" +%s) d2=$(date -d "$day" +%s) days=$(( (d1 - d2) / 86400 )) -- cgit v1.2.3-70-g09d2