summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-08-04 20:01:45 +0200
committertv <tv@krebsco.de>2016-08-04 20:01:45 +0200
commite2af338d6cf0da76f1f2d06bab60b76bb2b5c063 (patch)
treedbe073eeacc7b04669b4095a23a8817e3e985ab0 /tv/5pkgs
parentd2e611d2809bc18da225d74e434effd8e5ae9380 (diff)
tv q: print $PWD/TODO
Diffstat (limited to 'tv/5pkgs')
-rw-r--r--tv/5pkgs/q/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tv/5pkgs/q/default.nix b/tv/5pkgs/q/default.nix
index eeb6003..b19402f 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
''