diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-06-28 14:57:29 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-06-28 14:57:29 +0200 |
commit | 8c50eedf0c48c1d091bf73496db281103ea4dae6 (patch) | |
tree | 8f67f27e4f4172b6a2679e7f307b743130a41502 /nix-script | |
parent | 33bf2844ba09cbcabc53abdae357c09e6e7bec0b (diff) |
Fix: Remove path from command list
Closes #24.
Diffstat (limited to 'nix-script')
-rwxr-xr-x | nix-script | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -92,7 +92,8 @@ then stdout "Listing commands" for cmd in $(all_commands) do - echo $(scriptname_to_command $cmd) + echo $(scriptname_to_command $cmd | \ + sed -r "s,$(dirname ${BASH_SOURCE[0]})/nix-script-,,") done exit 0 fi |