summaryrefslogtreecommitdiffstats
path: root/nix-script
diff options
context:
space:
mode:
Diffstat (limited to 'nix-script')
-rwxr-xr-xnix-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-script b/nix-script
index 1c74471..547e41f 100755
--- a/nix-script
+++ b/nix-script
@@ -92,7 +92,7 @@ then
stdout "Listing commands"
for cmd in $(all_commands)
do
- echo "$cmd" | sed 's,^\.\/nix-script-,,' | sed 's,\.sh$,,'
+ echo $(scriptname_to_command $cmd)
done
exit 0
fi