Fix taskrc in work mode

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-29 13:42:25 +02:00
parent 0699a92d75
commit 049bd01474
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 20 additions and 11 deletions

View file

@ -50,7 +50,13 @@ export GEM_SPEC_CACHE="${XDG_CACHE_HOME}/gem/specs"
mkdir -p "${XDG_DATA_HOME}/wine/prefixes"
export WINEPREFIX="${XDG_DATA_HOME}/wine/prefixes/default"
export SQLITE_HISTORY="${XDG_DATA_HOME}/sqlite_history"
export TASKDATA="${HOME}/tasks"
if [ "${IS_WORK}" = "1" ]; then
export TASKDATA="${HOME}/.local/share/tasks"
else
export TASKDATA="${HOME}/tasks"
fi
export TASKRC="${XDG_CONFIG_HOME}/task/taskrc"
export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
export CCACHE_CONFIGPATH="${XDG_CONFIG_HOME}/ccache.config"

View file

@ -2,5 +2,4 @@ file:///home/severin/documents Documents
file:///home/severin/downloads Downloads
file:///home/severin/videos Videos
file:///home/severin/projects Projects
file:///home/severin/dotfiles dotfiles
file:///home/severin/notes Notes
file:///home/severin/dotfiles dotfiles

View file

@ -11,7 +11,6 @@
# Use the command 'task show' to see all defaults and overrides
# Files
data.location=/home/severin/tasks
verbose=blank,footnote,label,new-id,affected,edit,special,project,sync,unwait
report.todo.description=Tasks with now due date, overdue or due in the next 7 days