-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ plugins: add
$GIT_DIRECTORY_NAME
env variable (#86)
Expose the `$GIT_DIRECTORY_NAME` environment variable to the git_repositories plugin. This is useful for setting `app_ids`, or `tmux` session names, for example. I am not sure about error handling here. The unwraps are there because: - We have a git directory, the file name should always succeed. - It should always be valid Utf8. We could return an empty string in an error case, that way scripts might still succeed and fill in a default value.
- Loading branch information
Showing
2 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters