diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-11 16:06:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-11 16:06:32 +1300 |
commit | 603ee06a39ccc2bd0151a5f965ec97452fec2d1f (patch) | |
tree | 0a3d4bb9f763af4ef68b5e84d2652dc6c23a5e0c /bash/bashrc.d | |
parent | Little function to count files (diff) | |
download | dotfiles-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.bash | 2 |
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" } |