diff --git a/sh/main.sh b/sh/main.sh index 75b1815..0abfb5e 100755 --- a/sh/main.sh +++ b/sh/main.sh @@ -192,10 +192,10 @@ _rwx_code_variables="" rwx_parse_code() { # parse aliases - local line + local line text RWX_ALIASES="$(rwx_parse_aliases)" while IFS= read -r line; do - eval "${line/ = /() { } \"\${@}\"; }" + eval "$(echo "${line}" | sed "s| = |() { |") \"\${@}\"; }" done <