From 6a4a4ff3b7878300d8aa510f6fde5fd5b9f339e1 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 5 Jan 2018 02:21:39 +0000 Subject: [PATCH] etc/profile.d/sys.sh --- etc/profile.d/sys.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } -- 2.47.3