From ae94d19fa58ceff92576b88bc7728df44780ffe7 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 7 Sep 2022 22:36:47 +0200 Subject: [PATCH] sheldon: add inline todo function --- .config/sheldon/plugins.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/sheldon/plugins.toml b/.config/sheldon/plugins.toml index a532c05..f71f62a 100644 --- a/.config/sheldon/plugins.toml +++ b/.config/sheldon/plugins.toml @@ -3,8 +3,13 @@ # See the documentation for more https://github.com/rossmacarthur/sheldon#readme shell = "zsh" + [plugins] +[plugins.todo] +inline = 'todo() {(test -f ~/TODO.md && glow ~/TODO.md) || echo no ~/TODO.md}' + + [plugins.zsh-autosuggestions] github = 'zsh-users/zsh-autosuggestions'