From c47bf54d312fce1bc7d1ebdec2b41dfef4d7698d Mon Sep 17 00:00:00 2001
From: Chris Coley <chris@codingallnight.com>
Date: Fri, 30 May 2014 23:21:42 -0700
Subject: [PATCH] Added count function to .bashrc

---
 .bashrc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.bashrc b/.bashrc
index 68cbebb..d9f58d5 100644
--- a/.bashrc
+++ b/.bashrc
@@ -107,3 +107,8 @@ if ! shopt -oq posix; then
     . /etc/bash_completion
   fi
 fi
+
+# Handy dandy function to count files in a directory and its subdirectories
+function count {
+    find $1 -type f | wc -l
+}
-- 
GitLab