diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..46c0dc6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +os: + - linux + - osx +script: ./check_integrity.sh $(find bin | cut -b 5- | xargs) diff --git a/check_integrity.sh b/check_integrity.sh index cc029a4..f6dc186 100755 --- a/check_integrity.sh +++ b/check_integrity.sh @@ -15,7 +15,7 @@ check_bash_script() { || err "Run 'chmod +x bin/$cmd' to make it executable" shebang=$(head -n1 "bin/$cmd") - test "$shebang" == "#!/usr/bin/env bash" \ + [[ "$shebang" =~ \#![[:space:]]*/usr/bin/env[[:space:]]+bash ]] \ || err "Start git-$1 with '#!/usr/bin/env bash'" } diff --git a/etc/git-extras-completion.zsh b/etc/git-extras-completion.zsh index 03d760d..09be7a1 100644 --- a/etc/git-extras-completion.zsh +++ b/etc/git-extras-completion.zsh @@ -391,6 +391,7 @@ zstyle ':completion:*:*:git:*' user-commands \ pr:'checks out a pull request locally' \ psykorebase:'rebase a branch with a merge commit' \ pull-request:'create pull request to GitHub project' \ + reauthor:'replace the author and/or committer identities in commits and tags' \ rebase-patch:'rebases a patch' \ refactor:'create refactor branch' \ release:'commit, tag and push changes to the repository' \