+
Skip to content

Conversation

sergei-mironov
Copy link

Hello. I'd like to share some updates I'm working on. The goal is to enable the use of ondir on a per-project basis. To achieve this, I'm adding support for per-project configurations alongside the existing system-wide and user-wide ones.

First, I'm using the ONDIRRC environment variable to load additional configurations. I usually set this variable in each project's ~ projects/whatever/env.sh, which is then sourced by a shell that's local to the project.

Second, I want all paths within a per-project configuration to be specified relative to the configuration file itself. So, I've added code that translates enter ./folder to enter ~/proj/whatever/folder, where the base directory is the location of the configuration file.

Please let me know your thoughts on these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载