]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/sys.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 22 Feb 2017 16:48:08 +0000 (16:48 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 22 Feb 2017 16:48:08 +0000 (16:48 +0000)
etc/profile.d/sys.sh

index 7ff120b92e163b97ed2bbef079dabd5d0f423503..987171232696dc0dd2388acbfc367ce4d0df14e6 100644 (file)
@@ -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"
 }