aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-12-11 16:06:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-12-11 16:06:32 +1300
commit603ee06a39ccc2bd0151a5f965ec97452fec2d1f (patch)
tree0a3d4bb9f763af4ef68b5e84d2652dc6c23a5e0c /bash/bashrc.d
parentLittle function to count files (diff)
downloaddotfiles-603ee06a39ccc2bd0151a5f965ec97452fec2d1f.tar.gz
dotfiles-603ee06a39ccc2bd0151a5f965ec97452fec2d1f.zip
Simpler output in the style of du(1)
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/cf.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/cf.bash b/bash/bashrc.d/cf.bash
index 2de37736..e336478c 100644
--- a/bash/bashrc.d/cf.bash
+++ b/bash/bashrc.d/cf.bash
@@ -19,7 +19,7 @@ cf() {
((ngs)) && shopt -s nullglob
# Print result
- printf 'cf: %'\''.f files in %s\n' \
+ printf '%d\t%s\n' \
"${#files[@]}" "$dir"
}