dotfiles/.config/fish/functions/taskwiki.fish

10 lines
190 B
Fish
Raw Normal View History

function taskwiki -a id
2020-08-15 23:20:08 +00:00
set page (task _get $id.wiki)
2020-08-15 23:20:08 +00:00
if test -n $page
$EDITOR +VimwikiIndex "+VimwikiGoto $page"
else
echo 'no wiki file specified'
end
end