Separate system scripts from programs

This commit is contained in:
Henrik Lissner 2015-12-09 01:42:27 -05:00
parent 2bb080e539
commit ec52621f48
15 changed files with 13 additions and 2 deletions

11
bin/git-stats Executable file
View 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

View file

View file

@ -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"

2
zshenv
View file

@ -53,7 +53,7 @@ export ANDROID_SDK=/usr/local/Cellar/android-sdk/24.2
# Set the list of directories that Zsh searches for programs.
path=(
$HOME/.dotfiles/scripts
$HOME/.dotfiles/{bin,scripts}
/usr/local/{bin,sbin}
/usr/{bin,sbin}
/{bin,sbin}