mirror of https://github.com/mitchell/dotfiles.git
10 lines
174 B
Fish
10 lines
174 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
|