Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To [append a project's local `bin/` directory to `$PATH`][dotfiles], the dotfiles check for the existence of a special directory: `git/.safe`. This commit is inspired by [thoughtbot/suspenders#837][mathiasbynens#837]: > The idea behind the .git/safe is that I run it manually and explicitly > after I trust the directoy and the team behind the project. > Creating it as part of the setup script defeats the point of that. Doing > so without explcitly telling the user comes across as sneaky, perhaps. > (I do expect all devs to read setup scripts before running them -- but I > also know that they do not!) > Switch this script to inform the user that they have no `.git/safe` > directory but might like to make one. Since suspenders may no longer mark projects safe by default, this commit introduces the `git trust-bin` command to do so. [dotfiles]: https://github.com/thoughtbot/dotfiles/blob/af75a673b1d8465a1e8c55c33f4a79fe3f5dc3c7/zsh/configs/post/path.zsh#L9-L10 [mathiasbynens#837]: thoughtbot/suspenders#837
- Loading branch information