From a49b7f4551b035244b463dd328425c14474450d2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 4 May 2024 13:51:21 +0200 Subject: bin: make script debugging easier --- bin/home-manager | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/home-manager') 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 -- cgit 1.4.1