diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-11 16:10:14 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-11 16:10:14 +1300 |
commit | dc617fbc63043df3622f7675bbeea5de2fea080d (patch) | |
tree | 3b48bb0e067aa8dcb5d3ae738f2372a56a34aff3 /bash/bashrc.d | |
parent | Error message if not a directory (diff) | |
download | dotfiles-dc617fbc63043df3622f7675bbeea5de2fea080d.tar.gz dotfiles-dc617fbc63043df3622f7675bbeea5de2fea080d.zip |
Got my logic backwards; UNSET options
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r-- | bash/bashrc.d/cf.bash | 4 |
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' \ |