On Fri, 20 Jan 2017 23:55:08 +0000, 岩倉 澪 wrote:

> On Friday, 20 January 2017 at 12:06:32 UTC, Kagamin wrote:
>> You can symlink ~/scripts to /usr/local/bin/scripts and
>> -I/usr/local/bin/scripts and keep all files with .d extensions there,
>> create only symlinks in bin without extensions.
> 
> Excellent idea; makes the shebang line a bit more wordy but perhaps this
> is better than changing the behaviour of rdmd.

You can edit dmd.conf to avoid adding the args to every shebang line. To 
avoid interfering with your other usage, you can install another copy of 
dmd+rdmd to another location and put your script-specific dmd.conf in 
that directory.

Reply via email to