feat(find runfile): Adds support for $RUNFILE_ROOTS path variable#41
feat(find runfile): Adds support for $RUNFILE_ROOTS path variable#41
Conversation
* RUNFILE_ROOTS is treated as a list of path entries (using standard os separator)
* If $PWD is a child of a root entry, walks-up looking for Runfile
* Roots themselves are generally treated as exclusive (ie not checked)
* $HOME, if a configured root, is treated as inclusive (ie IS checked)
general usage:
export RUNFILE_ROOTS="${HOME}" # Will look in $HOME
most permissive:
export RUNFILE_ROOTS="/" # Will not look in /
tbd: Update README
|
@TekWizely Just looking into the git log for updates since I last updated run, and found this ticket, and immediately got very excited. Thanks very much, this looks like exactly what I was after! Sorry for the late reply, for some reason, Github sent the notification of your cc to /dev/null, otherwise I would probably have replied a lot sooner... It looks like if I set RUNFILE_ROOTS to contain the repository, then I'll be fine. Or perhaps $HOME, so I don't need to set it per repository... Anyway, I'll give it a shot in the coming days when I find time, and will let you know if I find any problems. |
I love that you do that :)
Remember its a PATH variable, so it can contain all of your repository parent folders, or just
I look forward to hearing your thoughts, thanks ! -TW |
Adds support for $RUNFILE_ROOTS path variable
general usage:
most permissive:
relates to #39
cc: @rburchell