[Tcsh] Question on completion
H.Merijn Brand
tux at freedom.nl
Mon Oct 20 06:54:39 UTC 2025
I am a perl developer and write a lot of perl tooling for work related
tasks. Most of the times the commands/scripts have a .pl extension.
Is there a completion-rule that would change
% my-tool --option-a --option-b=5 foo bar baz
to
% my-tool.pl --option-a --option-b=5 foo bar baz
if "my-tool" is *not* available in $PATH, but "my-tool.pl" *is*?
Other than creation a ton of aliasses
--
H.Merijn Brand https://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.37 porting perl5 on HP-UX, AIX, and Linux
https://tux.nl/email.html http://qa.perl.org https://www.test-smoke.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20251020/e9cca284/attachment.asc>
More information about the Tcsh
mailing list