diff options
author | Yigit Sever | 2021-10-13 14:45:14 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-13 14:45:14 +0300 |
commit | 8d956d0ea5b91a027222536503cc41fc683bf9da (patch) | |
tree | edb00b8d81c75b22c95344cdf14b95ffccf385b5 | |
parent | 38dc074fd2f92c216d07a841197a3e648c77f2b4 (diff) | |
download | dotfiles-8d956d0ea5b91a027222536503cc41fc683bf9da.tar.gz dotfiles-8d956d0ea5b91a027222536503cc41fc683bf9da.tar.bz2 dotfiles-8d956d0ea5b91a027222536503cc41fc683bf9da.zip |
zshrc: respect nextcloud virtuals
-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 )) |