aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/keep.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-04-14 20:58:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-04-14 20:58:25 +1200
commit44541efbd1f39af7a4d45ead7a3fccb6d9a26b0a (patch)
tree582d86d583560ca84d94299cdd9335dea210afde /bash/bashrc.d/keep.bash
parent0eef16952a5eb2a93243a5045c8368fa0d8681ed (diff)
downloaddotfiles-44541efbd1f39af7a4d45ead7a3fccb6d9a26b0a.tar.gz
dotfiles-44541efbd1f39af7a4d45ead7a3fccb6d9a26b0a.zip
Remove curly braces
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 53b7c5bb..28b3e8f7 100644
--- a/bash/bashrc.d/keep.bash
+++ b/bash/bashrc.d/keep.bash
@@ -138,7 +138,7 @@ EOF
(
shopt -s dotglob nullglob
declare -a keeps
- keeps=("${bashkeep}"/*.bash)
+ keeps=("$bashkeep"/*.bash)
keeps=("${keeps[@]##*/}")
keeps=("${keeps[@]%.bash}")
((${#keeps[@]})) || exit 0