parent
457d82fade
commit
80f244fb08
2 changed files with 7 additions and 19 deletions
|
@ -238,15 +238,15 @@ rwx_code_doc() {
|
|||
|
||||
rwx_code_load() {
|
||||
local line
|
||||
# parse aliases functions
|
||||
_rwx_code_aliases_functions="$(rwx_code_parse "aliases functions")"
|
||||
# parse functions aliases
|
||||
_rwx_code_aliases_functions="$(rwx_code_action_target "eval" "alias")"
|
||||
while IFS= read -r line; do
|
||||
eval "${line}"
|
||||
done <<EOF
|
||||
${_rwx_code_aliases_functions}
|
||||
EOF
|
||||
# parse commands functions
|
||||
_rwx_code_commands_functions="$(rwx_code_parse "commands functions")"
|
||||
# parse functions commands
|
||||
_rwx_code_commands_functions="$(rwx_code_action_target "eval" "command")"
|
||||
while IFS= read -r line; do
|
||||
eval "${line}"
|
||||
done <<EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue