From 4acf2a4583d401a6a95f00ffe83e1a7d319e43fc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 27 Feb 2016 11:07:24 +1300 Subject: Unsigned integers for printf --- bash/bashrc.d/cf.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc.d/cf.bash') diff --git a/bash/bashrc.d/cf.bash b/bash/bashrc.d/cf.bash index 4109fb18..d006c680 100644 --- a/bash/bashrc.d/cf.bash +++ b/bash/bashrc.d/cf.bash @@ -24,7 +24,7 @@ cf() { ( shopt -s dotglob nullglob declare -a files=("$dirname"/*) - printf '%d\t%s\n' "${#files[@]}" "$dirname" + printf '%u\t%s\n' "${#files[@]}" "$dirname" ) } complete -A directory cf -- cgit v1.2.3