diff --git a/sh/code.sh b/sh/code.sh index a037897..4cfeb00 100644 --- a/sh/code.sh +++ b/sh/code.sh @@ -209,7 +209,7 @@ rwx_code_main() { rwx_source "${RWX_SELF_USER}" # load code cache rwx_code_load - # context / command + # set command local command # command name used to run # (stripped from hyphen interactive flag) @@ -218,6 +218,7 @@ rwx_code_main() { "bash" | "dash" | "sh") unset command ;; *) ;; esac + # context / command if [ -n "${command}" ]; then local function # find the matching function