scatterd-dotfiles/bin
Sean Doyle 384d4ad5e6 Add bin/git-trust-bin command
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][#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]: af75a673b1/zsh/configs/post/path.zsh (L9-L10)
[#837]: https://github.com/thoughtbot/suspenders/pull/837
2017-08-25 09:28:16 -04:00
..
bundler-search Fix minor spelling error in command code comment 2015-10-21 08:19:17 -04:00
git-ca Bring more shell syntax into shellcheck compliance 2015-10-30 12:50:02 -04:00
git-co-pr Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-create-branch Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-ctags Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-current-branch Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-delete-branch Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-merge-branch Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-pr Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-rename-branch Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
git-trust-bin Add bin/git-trust-bin command 2017-08-25 09:28:16 -04:00
git-up Move Git aliases to subcommand scripts 2015-04-27 13:47:52 -07:00
replace Overwrite internal field separator when replacing. 2016-04-15 10:36:33 -04:00
tat Update tat script to accept optional session name 2015-05-15 17:37:25 -07:00