]> git.madduck.net Git - etc/taskwarrior.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

enable colours and see how we go
authormartin f. krafft <madduck@madduck.net>
Wed, 28 Feb 2018 10:26:46 +0000 (23:26 +1300)
committermartin f. krafft <madduck@madduck.net>
Wed, 28 Feb 2018 10:26:46 +0000 (23:26 +1300)
.config/taskwarrior/rc
.zsh/zshrc/parts.d/50-taskwarrior

index d1671983c7bb8cc81420e557a93b78ae1a15b74c..174ed8511a72ac78c4a0e56035521d80c438af29 100644 (file)
@@ -1,4 +1,4 @@
-include /usr/share/taskwarrior/no-color.theme
+include /usr/share/taskwarrior/light-256.theme
 data.location=~/.var/taskwarrior
 
 nag=
 data.location=~/.var/taskwarrior
 
 nag=
index 2cf9d386d76bbf1be3d59c860aec6b107c72d31c..53bdcc40103c9125d18d0272d8187fd543300430 100644 (file)
@@ -21,7 +21,7 @@ if whence task >/dev/null; then
   # only print the tasks at most once every 30 seconds
   if [[ -t 0 ]] && [[ -z ${SENTINEL}(#qNms-30) ]]; then
     touch ${SENTINEL}
   # only print the tasks at most once every 30 seconds
   if [[ -t 0 ]] && [[ -z ${SENTINEL}(#qNms-30) ]]; then
     touch ${SENTINEL}
-    task 2>/dev/null || :
+    task rc.color:off 2>/dev/null || :
   fi
   unset SENTINEL
 fi
   fi
   unset SENTINEL
 fi