summaryrefslogtreecommitdiffstats
path: root/nix-script
diff options
context:
space:
mode:
Diffstat (limited to 'nix-script')
-rwxr-xr-xnix-script3
1 files changed, 1 insertions, 2 deletions
diff --git a/nix-script b/nix-script
index 3cfc082..cb8f3de 100755
--- a/nix-script
+++ b/nix-script
@@ -92,8 +92,7 @@ then
stdout "Listing commands"
for cmd in $(all_commands)
do
- echo $(scriptname_to_command $cmd | \
- sed -r "s,$(dirname ${BASH_SOURCE[0]})/nix-script-,,")
+ echo $(scriptname_to_command $cmd)
done
exit 0
fi