Skip to content

Commit

Permalink
Code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosx001 committed Jan 5, 2021
1 parent 527aea5 commit 2c6545e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aliasme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -151,7 +151,7 @@ al(){
if [ $1 = "ls" ]; then
_list
elif [ $1 = "add" ]; then
_add $2 "$3" $4 $5
_add $2 $3 $4 $5
elif [ $1 = "rm" ]; then
_remove $2
elif [ $1 = "-h" ]; then
Expand Down

0 comments on commit 2c6545e

Please sign in to comment.