zshrc: Move `top10' alias to skel/.zshrc
authorFrank Terbeck <ft@bewatermyfriend.org>
Wed, 30 Nov 2011 20:58:09 +0000 (21:58 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:48 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
doc/grmlzshrc.t2t
etc/skel/.zshrc
etc/zsh/zshrc

index 98ad496..ec9d659 100644 (file)
@@ -909,9 +909,6 @@ http://www.cl.cam.ac.uk/~mgk25/unicode.html#term).
 : **tlog** (//tail -f /var/log/syslog//)
 Prints syslog continuously (See tail(1)).
 
-: **top10** (//print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10//)
-Prints the ten most used shell commands.
-
 : **truec** (//truecrypt [ mount options ]//)
 Mount a truecrypt volume with some reasonable mount options
 ("rw,sync,dirsync,users,uid=1000,gid=users,umask=077" and "utf8", if
index 8e1b025..22f7e5e 100644 (file)
@@ -175,6 +175,9 @@ fi
 #alias -g T='|tail'
 #alias -g V='| vim -'
 
+## get top 10 shell commands:
+#alias top10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10'
+
 ## miscellaneous code ##
 
 ## Use a default width of 80 for manpages for more convenient reading
index e0e84e6..94373e1 100644 (file)
@@ -1470,9 +1470,6 @@ if ! check_com asc &>/dev/null ; then
   compdef asc=ssh
 fi
 
-# get top 10 shell commands:
-alias top10='print -l ${(o)history%% *} | uniq -c | sort -nr | head -n 10'
-
 # truecrypt; use e.g. via 'truec /dev/ice /mnt/ice' or 'truec -i'
 if check_com -c truecrypt ; then
     if isutfenv ; then