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

10 lines
190 B
Fish

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