summaryrefslogtreecommitdiffstats
path: root/tv
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
commitff42f5198f431b88e986349ecf01d341fa26661a (patch)
tree54df2d368f6540241c382ae93fef1fe7e2a6aadb /tv
parent2e4c4a8666beabfe94c12dcac3f32532786445ef (diff)
tv q: print $PWD/TODO
Diffstat (limited to 'tv')
-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 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
''