From 5513dda90d463cac19063bdba9696fcc4174ec0a Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Mon, 4 Jan 2021 18:05:22 -0800 Subject: [PATCH] Code clean up --- aliasme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aliasme.sh b/aliasme.sh index 79709f4..41018ae 100644 --- a/aliasme.sh +++ b/aliasme.sh @@ -89,9 +89,9 @@ _excute() { eval arg=\$$i cmds+=$arg\ done - eval "${line//\?/$cmds}" + eval ${line//\?/$cmds} else - fills=(${cmdType// / }) + fills=($cmdType) for i in $(seq 1 ${fills[2]}); do let num=$i+1 eval arg=\$$num