summaryrefslogtreecommitdiff
path: root/functions/utilities.zsh
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-03-27 02:09:41 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-03-27 02:33:21 +0300
commit9a895bc7e4c925658a9c57681437000445f399ed (patch)
tree8ed7d86bcb1cd9f40cea951a6f2afe9a6dd592a5 /functions/utilities.zsh
parent99f142de36630c141f7c8959563f15730b568b3c (diff)
Make variables local
Diffstat (limited to 'functions/utilities.zsh')
-rwxr-xr-xfunctions/utilities.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/utilities.zsh b/functions/utilities.zsh
index a9559922..7451ebf0 100755
--- a/functions/utilities.zsh
+++ b/functions/utilities.zsh
@@ -39,6 +39,7 @@ printSizeHumanReadable() {
# if the base is not Bytes
if [[ -n $2 ]]; then
+ local idx
for idx in "${extension[@]}"; do
if [[ "$2" == "$idx" ]]; then
break