From 1b1fa2821b6c5537fa2d348867ca2dff270dff7c Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 22 Feb 2017 16:48:08 +0000 Subject: [PATCH] etc/profile.d/sys.sh --- etc/profile.d/sys.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index 7ff120b9..98717123 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -55,17 +55,12 @@ sys_activity() { rm -rf "$tmp"* } -( -export -f sys_activity -export -f sys_logs -) 2> /dev/null | true - sys_watch() { local opt="$@" [ -z "$opt" ] && opt="-d" export -f sys_activity - watch --no-title $opt sys_activity - #watch --no-title $opt bash -c "sys_activity" + #watch --no-title $opt sys_activity + watch --no-title $opt bash -c "sys_activity" } -- 2.47.3