From: Nicolas Boisselier Date: Fri, 5 Jan 2018 02:21:39 +0000 (+0000) Subject: etc/profile.d/sys.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=6a4a4ff3b7878300d8aa510f6fde5fd5b9f339e1;p=nb.git etc/profile.d/sys.sh --- diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index b253cbc8..04815f1d 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -100,8 +100,8 @@ sys_watch() { [ -z "$opt" ] && opt="-d" shopt -s expand_aliases; - export -f $(typeset -f | awk '/^[a-z]+[a-zA-Z0-9_]+ \(\)/{print $1}') - watch --no-title $opt sys_activity + #export -f $(typeset -f | awk '/^[a-z]+[a-zA-Z0-9_]+ \(\)/{print $1}') + watch --no-title $opt ". $NB_ROOT/etc/profile.d/sys.sh && sys_activity" # NB 08.08.17 export -f sys_activity # NB 08.08.17 watch --no-title $opt bash -c "sys_activity" }