From aeefdd48b94ea7a747d10c0792a90977de6cba9f Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 20 Sep 2016 12:24:40 -0400 Subject: [PATCH] Fixed zshrc --- shells/zshrc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/shells/zshrc b/shells/zshrc index 3f9f635..340ed9f 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -75,7 +75,7 @@ dedir(){ } mt(){ if [[ -z "$1" ]]; then - echo "Opts:\nm xe gogs dm syncthing" >&2 + echo "Opts:\nm xe gogs dm syncthing g" >&2 return 1 fi case $1 in @@ -84,6 +84,8 @@ mt(){ gogs) sudo multitail /var/log/gogs.{err,log};; dm) dmesg -w;; syncthing) sudo multitail /var/log/syncthing.{err,log};; + g) sudo watch -c genlop -tc;; + sync) watch grep -e Dirty: -e Writeback: /proc/meminfo;; *) multitail "$1" esac } @@ -329,10 +331,6 @@ create-repo(){ PRIVATE="false" shift ;; - \?) - echo "Usage: create-repo [-p] name" >&2 - return 1 - ;; esac done if [ -z "$1" ]; then