Separate system scripts from programs
This commit is contained in:
parent
2bb080e539
commit
ec52621f48
11
bin/git-stats
Executable file
11
bin/git-stats
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
git rev-list --max-count=10 --reverse HEAD |
|
||||
while read rev; do
|
||||
git log --oneline -1 $rev
|
||||
git ls-tree -r $rev |
|
||||
awk '{print $3}' |
|
||||
xargs git show
|
||||
done
|
|
@ -7,7 +7,7 @@
|
|||
~/.vim/install.sh
|
||||
|
||||
shopt -s extglob
|
||||
for rcfile in "$HOME"/.dotfiles/!(bin|README.md|Gemfile*|install.sh); do
|
||||
for rcfile in "$HOME"/.dotfiles/!(bin|scripts|README.md|Gemfile*); do
|
||||
filep="$HOME/."$(basename "$rcfile")
|
||||
|
||||
[ "$1" == "--force" ] && rm -f "$filep"
|
Loading…
Reference in a new issue