diff --git a/sh/main.sh b/sh/main.sh index 94908be..66751c7 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -196,9 +196,7 @@ rwx_parse_code() { RWX_ALIASES="$(rwx_parse_aliases)" while IFS= read -r line; do text="s| = |() { |" - text="$(echo "${line}" | sed "${text}")" - text="${text} \"\${@}\"; }" - eval "${text}" + eval "$(echo "${line}" | sed "${text}") \"\${@}\"; }" done <