display time in bash prompt#837
Open
stevemao wants to merge 1 commit intomathiasbynens:mainfrom
Open
Conversation
alivx
approved these changes
Dec 25, 2020
minhptx
pushed a commit
to minhptx/dotfiles
that referenced
this pull request
Apr 13, 2021
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
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.