aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/keep.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-12-11 14:24:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-12-11 14:24:32 +1300
commit40b2ce14d04ac0dcbc852c2bd8ba928982697c52 (patch)
treed7968cc9929e4f6b669e8724ca675c3d303dd84b /bash/bashrc.d/keep.bash
parent65a7822e920e16744a9009eafe1a5f8182ff8dd5 (diff)
downloaddotfiles-40b2ce14d04ac0dcbc852c2bd8ba928982697c52.tar.gz
dotfiles-40b2ce14d04ac0dcbc852c2bd8ba928982697c52.zip
Whoops, dropped an important character
Diffstat (limited to 'bash/bashrc.d/keep.bash')
-rw-r--r--bash/bashrc.d/keep.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/keep.bash b/bash/bashrc.d/keep.bash
index c71a80a9..1b2fd9b7 100644
--- a/bash/bashrc.d/keep.bash
+++ b/bash/bashrc.d/keep.bash
@@ -120,7 +120,7 @@ EOF
keeps=("${bashkeep}"/*.bash)
keeps=("${keeps[@]##*/}")
keeps=("${keeps[@]%.bash}")
- ((${keeps[@]})) || exit 0
+ ((${#keeps[@]})) || exit 0
printf '%s\n' "${keeps[@]}"
)
}