diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-01-21 15:29:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-01-21 15:29:59 +0200 |
commit | 78c092d03cef4f16fbeb89e80f48e9a2ea1c2a3e (patch) | |
tree | c9e76a20e48a13eafa492c102270e17549e9c819 /bashrc | |
parent | 4655d73369528b668dc537643b2c0cde661a7eb1 (diff) | |
download | liw-dot-files-78c092d03cef4f16fbeb89e80f48e9a2ea1c2a3e.tar.gz |
Fix check for taskwarrior to be more precise
This fixes a problem on a machine with taskwarrrior installed,
but never used: task would interactively ask user whether to setup a
.taskrc, and block until it gets an answer.
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ termattr() taskwarrior_context() { - if command -v task > /dev/null + if command -v task > /dev/null && [ -e .task ] && [ -e .task ] then task context list | awk '$NF == "yes" { print $1 }' fi |