diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index c104991..0c9c057 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -82,6 +82,24 @@ fi } + til() { + if [[ ''${#} < 1 ]]; then + echo "No text was provided." + return + fi + + echo ''${1} >> TIL.txt + } + + todo() { + if [[ ''${#} < 1 ]]; then + echo "No text was provided." + return + fi + + echo ''${1} >> TODO.txt + } + ttyper() { command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}" }