From ff42f5198f431b88e986349ecf01d341fa26661a Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 4 Aug 2016 20:01:45 +0200 Subject: tv q: print $PWD/TODO --- tv/5pkgs/q/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tv/5pkgs/q/default.nix b/tv/5pkgs/q/default.nix index eeb600300..b19402fa4 100644 --- a/tv/5pkgs/q/default.nix +++ b/tv/5pkgs/q/default.nix @@ -190,4 +190,7 @@ pkgs.writeBashBin "q" '' (${q-thermal_zone}) & wait ${q-todo} + if [ "$PWD" != "$HOME" ]; then + (HOME=$PWD; ${q-todo}) + fi '' -- cgit v1.2.3