Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taskrc not working with taskwiki #399

Open
twoeightdev opened this issue Feb 27, 2022 · 3 comments
Open

Taskrc not working with taskwiki #399

twoeightdev opened this issue Feb 27, 2022 · 3 comments

Comments

@twoeightdev
Copy link

hi, if my taskrc is located inside $HOME/.config/task/taskrc it doesn't work at all with taskwarrior and vimwiki. but if i moved it in $HOME/.task it works.

How can i make it work when im taskrc is in $HOME/.config/task/taskrc

Im using neovim 0.6.1
tasklib v2.4.3_1
task v2.6.1
distro: Voidlinux

@liskin
Copy link
Collaborator

liskin commented Feb 28, 2022

Try

taskwiki/doc/taskwiki.txt

Lines 679 to 680 in 70b33f3

*taskwiki_taskrc_location*
The location of the taskrc file used by taskwiki. Defaults to ~/.taskrc.

@twoeightdev
Copy link
Author

Try

taskwiki/doc/taskwiki.txt

Lines 679 to 680 in 70b33f3

*taskwiki_taskrc_location*
The location of the taskrc file used by taskwiki. Defaults to ~/.taskrc.

i want to move my taskrc in $HOME/.config.task/taskrc
it is working in my terminal when i do task add "Task 1" but when i start it in vimwiki it auto create $HOME/.task

my taskrc:

data.location=~/.config/task/
hooks.location=~/.config/task/hooks/

@admbeck
Copy link

admbeck commented Feb 6, 2023

If you are using init.lua then add the following lines to your config:

vim.g.taskwiki_taskrc_location = "~/.config/task/taskrc"
vim.g.taskwiki_data_location = "~/.config/task/"

or if you are using init.vim

let g:taskwiki_taskrc_location="~/.config/task/taskrc"
let g:taskwiki_data_location="~/.config/task/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants