diff --git a/scripts/2png b/bin/2png similarity index 100% rename from scripts/2png rename to bin/2png diff --git a/scripts/git-move-root-to b/bin/git-move-root-to similarity index 100% rename from scripts/git-move-root-to rename to bin/git-move-root-to diff --git a/bin/git-stats b/bin/git-stats new file mode 100755 index 00000000..243d97b0 --- /dev/null +++ b/bin/git-stats @@ -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 diff --git a/scripts/html2pdf b/bin/html2pdf similarity index 100% rename from scripts/html2pdf rename to bin/html2pdf diff --git a/scripts/lesspipe b/bin/lesspipe similarity index 100% rename from scripts/lesspipe rename to bin/lesspipe diff --git a/scripts/lsarchive b/bin/lsarchive similarity index 100% rename from scripts/lsarchive rename to bin/lsarchive diff --git a/scripts/run-boris b/bin/run-boris similarity index 100% rename from scripts/run-boris rename to bin/run-boris diff --git a/scripts/ss b/bin/ss similarity index 100% rename from scripts/ss rename to bin/ss diff --git a/scripts/ss2mov b/bin/ss2mov similarity index 100% rename from scripts/ss2mov rename to bin/ss2mov diff --git a/scripts/unarchive b/bin/unarchive similarity index 100% rename from scripts/unarchive rename to bin/unarchive diff --git a/scripts/wrag b/bin/wrag similarity index 100% rename from scripts/wrag rename to bin/wrag diff --git a/install.sh b/scripts/install.sh similarity index 85% rename from install.sh rename to scripts/install.sh index 7e13ca45..03af75f3 100755 --- a/install.sh +++ b/scripts/install.sh @@ -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" diff --git a/scripts/org-clean b/scripts/org-clean.sh similarity index 100% rename from scripts/org-clean rename to scripts/org-clean.sh diff --git a/scripts/update b/scripts/update.sh similarity index 100% rename from scripts/update rename to scripts/update.sh diff --git a/zshenv b/zshenv index 489511d5..1f4fd232 100644 --- a/zshenv +++ b/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. path=( - $HOME/.dotfiles/scripts + $HOME/.dotfiles/{bin,scripts} /usr/local/{bin,sbin} /usr/{bin,sbin} /{bin,sbin}