summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
''