Add gcloc function
This commit is contained in:
parent
1ce71d2364
commit
6c998a7834
|
@ -17,6 +17,9 @@ function ssh {
|
||||||
__iterm_set_bg_reset
|
__iterm_set_bg_reset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function gcloc {
|
||||||
|
cloc $(git ls-files)
|
||||||
|
}
|
||||||
|
|
||||||
function shuf {
|
function shuf {
|
||||||
awk 'BEGIN {srand(); OFMT="%.17f"} {print rand(), $0}' "$@" | \
|
awk 'BEGIN {srand(); OFMT="%.17f"} {print rand(), $0}' "$@" | \
|
||||||
|
|
Loading…
Reference in New Issue