From: Nicolas Boisselier Date: Wed, 22 Feb 2017 16:48:08 +0000 (+0000) Subject: etc/profile.d/sys.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=1b1fa2821b6c5537fa2d348867ca2dff270dff7c;p=nb.git etc/profile.d/sys.sh --- 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" }