From ceb01ff80cdc25503e78d735569d7936dc2478f5 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Fri, 11 Oct 2019 20:16:10 +0100
Subject: [PATCH] Add bin directory for custom scripts

---
 bin/git-cm    | 7 +++++++
 rcrc          | 2 +-
 tag-zsh/zshrc | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100755 bin/git-cm

diff --git a/bin/git-cm b/bin/git-cm
new file mode 100755
index 00000000..0a243dae
--- /dev/null
+++ b/bin/git-cm
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+if [[ $# > 0 ]]; then
+  git commit -m "$@"
+else
+  git commit -v
+fi
diff --git a/rcrc b/rcrc
index 729cfd58..8f46470a 100644
--- a/rcrc
+++ b/rcrc
@@ -1,4 +1,4 @@
 DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
 EXCLUDES="install.sh README.md"
-SYMLINK_DIRS="composer functions zsh_profile.d"
+SYMLINK_DIRS="composer bin functions zsh_profile.d"
 TAGS="git npm php tmux vim zsh"
diff --git a/tag-zsh/zshrc b/tag-zsh/zshrc
index c2be5482..195cafe7 100644
--- a/tag-zsh/zshrc
+++ b/tag-zsh/zshrc
@@ -5,6 +5,7 @@ export PATH=$PATH:vendor/bin
 export PATH=$PATH:$HOME/.composer/vendor/bin
 export PATH=$PATH:/usr/local/sbin
 export PATH=$PATH:"$HOME/.platformsh/bin"
+export PATH="$HOME/.bin:$PATH"
 
 # Path to your oh-my-zsh installation.
 export ZSH=/Users/opdavies/.oh-my-zsh