aboutsummaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca.matei.pintilie@lanekassen.no>2024-07-02 06:57:17 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2024-07-02 15:52:11 +0000
commite843764964c82d578f7939c651ae995c75b6b384 (patch)
tree3c87367a32438143b288f2b05f33a9da54015635 /.profile
parent304b5739bb6c3b5251fba470e2083855b4b58b33 (diff)
downloaddotfiles-e843764964c82d578f7939c651ae995c75b6b384.tar
dotfiles-e843764964c82d578f7939c651ae995c75b6b384.tar.gz
dotfiles-e843764964c82d578f7939c651ae995c75b6b384.tar.bz2
dotfiles-e843764964c82d578f7939c651ae995c75b6b384.tar.lz
dotfiles-e843764964c82d578f7939c651ae995c75b6b384.tar.xz
dotfiles-e843764964c82d578f7939c651ae995c75b6b384.tar.zst
dotfiles-e843764964c82d578f7939c651ae995c75b6b384.zip
.profile: add today config
Diffstat (limited to '.profile')
-rwxr-xr-x.profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/.profile b/.profile
index 4de88c8..e41354d 100755
--- a/.profile
+++ b/.profile
@@ -10,6 +10,14 @@ then
fi
fi
+TODAY_DIR="${XDG_DATA_HOME:-"${HOME}/.local/share"}/today"
+TODAY_SUFFIX=".md"
+TODAY_CMD="nvim -c 'above sp $(printf '%s/todo%s\n' "$TODAY_DIR" "$TODAY_SUFFIX")' -c \"tabe \$TODAY_DIR\" -c 'tabr' \"\$TODAY_FILE\""
+
+export TODAY_CMD
+export TODAY_DIR
+export TODAY_SUFFIX
+
DENO_INSTALL="$HOME/.deno"
# https://github.com/denoland/deno/pull/15974
DENO_NO_UPDATE_CHECK="yes"