Compare commits
3 commits
5c5464d4ae
...
9327161e72
Author | SHA1 | Date | |
---|---|---|---|
9327161e72 | |||
75487be90a | |||
c4b63c5de6 |
1 changed files with 2 additions and 2 deletions
|
@ -192,10 +192,10 @@ _rwx_code_variables=""
|
||||||
|
|
||||||
rwx_parse_code() {
|
rwx_parse_code() {
|
||||||
# parse aliases
|
# parse aliases
|
||||||
local line
|
local line text
|
||||||
RWX_ALIASES="$(rwx_parse_aliases)"
|
RWX_ALIASES="$(rwx_parse_aliases)"
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
eval "${line/ = /() { } \"\${@}\"; }"
|
eval "$(echo "${line}" | sed "s| = |() { |") \"\${@}\"; }"
|
||||||
done <<EOF
|
done <<EOF
|
||||||
${RWX_ALIASES}
|
${RWX_ALIASES}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue