summary refs log tree commit diff stats
path: root/bin/home-manager
diff options
context:
space:
mode:
Diffstat (limited to 'bin/home-manager')
-rwxr-xr-xbin/home-manager4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/home-manager b/bin/home-manager
index a6e89ce6..de6f4edb 100755
--- a/bin/home-manager
+++ b/bin/home-manager
@@ -138,6 +138,10 @@ end
 
 set --function cmd $current_script_name $argv
 
+if contains -- -n $argv
+    set --prepend cmd echo
+end
+
 if set --query IN_NIX_SHELL
     eval $cmd
 else