aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/cf.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/cf.bash')
-rw-r--r--bash/bashrc.d/cf.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/cf.bash b/bash/bashrc.d/cf.bash
index a376b089..17c84ade 100644
--- a/bash/bashrc.d/cf.bash
+++ b/bash/bashrc.d/cf.bash
@@ -20,8 +20,8 @@ cf() {
files=("$dir"/*)
# Reset our options
- ((dgs)) && shopt -s dotglob
- ((ngs)) && shopt -s nullglob
+ ((dgs)) || shopt -u dotglob
+ ((ngs)) || shopt -u nullglob
# Print result
printf '%d\t%s\n' \