-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow user control over "first word lookup" / generalization of $PATH #588
Labels
Comments
This was referenced Mar 31, 2020
Possible simpler solution: We could make a special category so that But I think that's too confusing and subtle... |
Idea:
|
Related: Someone brought that up |
#453 for use bin and use dialect is now very related |
Related
Also relates to putting value.Proc in the var namespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#587 made me think: can we look up our internal
readlink
LAST? (What aboutrealpath
too?)Right now there is a hard-coded POSIX lookup order:
ls
, etc)And aliases are in there somewhere. I guess you can have aliases for keywords, so they're really first?
I think I floated an idea like
PATH signifies a bunch of lookups.
Or maybe they should be separated without
:
so you don't have to parse it.It could be something like:
This affects Oil Blocks and the Config Dialect, because blocks will have custom "builtins" tacked onto the end. They temporarily change the lookup order.
For example the
opts
block in #469 will havearg
andflag
"builtins"The text was updated successfully, but these errors were encountered: