This website requires JavaScript.
Explore
Help
Sign in
configs
/
scatterd-dotfiles
Watch
1
Star
0
Fork
You've already forked scatterd-dotfiles
0
Code
Issues
2
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
5ad215adcb
scatterd-dotfiles
/
bin
/
git-ca
4 lines
69 B
Text
Raw
Normal View
History
Unescape
Escape
Bring more shell syntax into shellcheck compliance **Bring executables into better shellcheck compliance** While evaluating linting and testing options for our shell configuration, a run of Shellcheck against our executables turned up some places where we could use more consistent syntax across our executables, such as always using a shebang or quoting `$HOME` when we build up a larger directory. **Update syntax for zsh functions and completions** A few changes found while linting zsh configs with shellcheck: * thoughtbot's [style guide] [guide] calls for `$(..)` over backticks when capturing command output * use `-gt` to test array length in arguments [guide]: https://github.com/thoughtbot/guides/tree/master/best-practices
2015-10-30 12:50:02 -04:00
#!/bin/sh
git commit --amend -v --date="$(date +%Y-%m-%dT%H:%M:%S)"
Reference in a new issue
Copy permalink