find symlinked commands when generating help list
This commit is contained in:
parent
b2a3509e63
commit
31166e1e1c
|
@ -37,5 +37,5 @@ sub list_x {
|
||||||
my $d = shift;
|
my $d = shift;
|
||||||
return unless $d;
|
return unless $d;
|
||||||
_chdir "$d/commands";
|
_chdir "$d/commands";
|
||||||
return map { $_ => $d } grep { -x $_ } map { chomp; s(^./)(); $_ } `find . -type f|sort`;
|
return map { $_ => $d } grep { -x $_ } map { chomp; s(^./)(); $_ } `find . -type f -o -type l|sort`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue