Kevin Ernst

Results 58 comments of Kevin Ernst

The `tidy` command from [htacg/tidy-html5](https://github.com/htacg/tidy-html5) is another option: ```bash curl -s https://www.w3.org/Provider/Style/URI \ | htmlq blockquote:first-of-type \ | tidy -q -f /dev/null -w 78 -i ``` Not saying it's as...

It adds unnecessary visual noise, and is not required for simple variable interpolation most of the time. It's only _really_ required when you need to stand off the variable name...

This is an excellent argument for a beneficial use of tabs, and an equally good argument for having your editor's "show whitespace" menu option on speed-dial (`:set list` if you...

I have mixed feelings about `set -e` in a library script with a lot of functions that do something like ```bash is_integer() { [[ $1 =~ ^[-0-9][1-9]*$ ]] } ```...

For what it's worth, [fasd](clvv/fasd) also cooperates fine with autoenv with no modifications. It hooks into `$PROMPT_COMMAND` and just calls whatever `cd` is out there, no `builtin`. This way autoenv...

@nvie I made a first attempt at `git-relative-path` [here](../blob/bdfec805234d9ab47225478c053fb59beb1e0fba/git-relative-path), to replace the three uses of `make_relative` here, and also account for `realpath` maybe being called `grealpath` if you got it...

Uh, just realized that your "official" installation instructions use your Brew tap, and this brings in coreutils [as a dependency](https://github.com/nvie/homebrew-tap/blob/0ac89770361047026aeafeacb3b150e987b68029/git-toolbelt.rb#L7).

For a long time, I didn't even _understand_ why sometimes `program --help | less` or `program --help | grep` didn't work, just that it seemed random, and it was aggravating....

@magnori There could be lots of ways of answering that. Assuming you are using [Git for Windows](https://gitforwindows.org/)'s Bash shell, with all the default options chosen during installation then **yes**. If...

@nvie, @magnori could one of you re-open this? There is no `rev` in Git Bash for Windows, which means that `git-modified` will not work there. See [`git-modified` around line 124](https://github.com/nvie/git-toolbelt/blob/2eec073a4e12b7f6e70f6d4713de75b8642c4e90/git-modified#L124)....