diff options
Diffstat (limited to 'bash/bashrc.d/cf.bash')
-rw-r--r-- | bash/bashrc.d/cf.bash | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bash/bashrc.d/cf.bash b/bash/bashrc.d/cf.bash index db715c2f..66917375 100644 --- a/bash/bashrc.d/cf.bash +++ b/bash/bashrc.d/cf.bash @@ -19,9 +19,8 @@ cf() { # Count files and print; use a subshell so options are unaffected ( - declare -a files shopt -s dotglob nullglob - files=("$dir"/*) + declare -a files=("$dir"/*) printf '%d\t%s\n' "${#files[@]}" "$dir" ) } |