eval/shrink
This commit is contained in:
parent
c4b63c5de6
commit
75487be90a
1 changed files with 1 additions and 3 deletions
|
@ -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 <<EOF
|
||||
${RWX_ALIASES}
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue