From 01ff4f7a53669150ac6830453174facd170ae4fe Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 14 Jul 2023 12:33:09 -0400 Subject: [PATCH] tweak(zsh): print TODO file on startup --- users/profiles/shells/zsh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/users/profiles/shells/zsh.nix b/users/profiles/shells/zsh.nix index 540de8c..22f328a 100644 --- a/users/profiles/shells/zsh.nix +++ b/users/profiles/shells/zsh.nix @@ -19,6 +19,11 @@ initExtra = '' ${pkgs.kitty}/bin/kitty + complete setup zsh | source /dev/stdin ${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin + if [[ -e ~/TODO.txt && ! -v __TODO_PRINTED ]] then + export __TODO_PRINTED=1 + echo TODO: + \cat ~/TODO.txt + fi ''; dotDir = ".config/zsh";