From cedbbe47b658d3f8894daa1b30d15cb09684a1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Tue, 1 Sep 2020 09:39:41 +0200 Subject: [PATCH] add export functions --- myshell_load_defaults | 3 +++ 1 file changed, 3 insertions(+) diff --git a/myshell_load_defaults b/myshell_load_defaults index e30916f..a85b6be 100644 --- a/myshell_load_defaults +++ b/myshell_load_defaults @@ -123,3 +123,6 @@ export HISTSIZE=999999 echo "bashrc_add sourced" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2 #echo "bashrc_add sourced" >&2 +# Export several functions for being usable in subshells +export -f token +export -f sudo