summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs
diff options
context:
space:
mode:
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
''