We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93eba4 commit ad93699Copy full SHA for ad93699
1 file changed
call_host.sh
@@ -44,7 +44,8 @@ if is_zsh; then
44
else
45
# bash
46
export_func(){
47
- export -f "$1" 2>/dev/null || true
+ [ -n "$1" ] || return
48
+ eval "export -f $1" 2>/dev/null || true
49
}
50
declare_assoc(){
51
# create named associative array in bash
0 commit comments