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
|
~/.vim/install.sh
|
||||||
|
|
||||||
shopt -s extglob
|
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")
|
filep="$HOME/."$(basename "$rcfile")
|
||||||
|
|
||||||
[ "$1" == "--force" ] && rm -f "$filep"
|
[ "$1" == "--force" ] && rm -f "$filep"
|
2
zshenv
2
zshenv
|
@ -53,7 +53,7 @@ export ANDROID_SDK=/usr/local/Cellar/android-sdk/24.2
|
||||||
|
|
||||||
# Set the list of directories that Zsh searches for programs.
|
# Set the list of directories that Zsh searches for programs.
|
||||||
path=(
|
path=(
|
||||||
$HOME/.dotfiles/scripts
|
$HOME/.dotfiles/{bin,scripts}
|
||||||
/usr/local/{bin,sbin}
|
/usr/local/{bin,sbin}
|
||||||
/usr/{bin,sbin}
|
/usr/{bin,sbin}
|
||||||
/{bin,sbin}
|
/{bin,sbin}
|
||||||
|
|
Loading…
Reference in a new issue