From 6c998a783475a118735eb0aa23b57ecc4c987ab7 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Sat, 21 Oct 2017 00:55:39 +0200 Subject: [PATCH] Add gcloc function --- bash/functions.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/functions.bash b/bash/functions.bash index c2a40da..24c8d41 100644 --- a/bash/functions.bash +++ b/bash/functions.bash @@ -17,6 +17,9 @@ function ssh { __iterm_set_bg_reset } +function gcloc { + cloc $(git ls-files) +} function shuf { awk 'BEGIN {srand(); OFMT="%.17f"} {print rand(), $0}' "$@" | \