From e843764964c82d578f7939c651ae995c75b6b384 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Tue, 2 Jul 2024 08:57:17 +0200 Subject: .profile: add today config --- .profile | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- cgit v1.2.3