[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request

From: Martin Schulte
Subject: Re: Feature request
Date: Wed, 6 Jul 2022 15:30:44 +0200

Hello Brad!

> It would be fantastic if there was a nicer way to source files from the
> same folder instead of copy-pasting complicated logic in every script.

I'm not sure if I understand your questions correctly, but did you try

source "${0%/*}/file.ext"


>    - my sourceables also need logic to prevent them from being executed by
>    accident (they tell you to source them instead).

Just don't give them execute permission (at least when running on a unix 

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]