diff options
author | Alan Pearce | 2024-05-04 13:51:21 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-18 12:17:12 +0200 |
commit | a49b7f4551b035244b463dd328425c14474450d2 (patch) | |
tree | 748da82182f613802f05f771a090dd22d9bc76d4 | |
parent | ee235e3ae782b879628686708587d7fd17eb9e17 (diff) | |
download | nixfiles-a49b7f4551b035244b463dd328425c14474450d2.tar.lz nixfiles-a49b7f4551b035244b463dd328425c14474450d2.tar.zst nixfiles-a49b7f4551b035244b463dd328425c14474450d2.zip |
bin: make script debugging easier
-rwxr-xr-x | bin/home-manager | 4 |
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 |