X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=54ce02429264fcd2ebc2b2011b7c7c2ca33ee22e;hb=1314616e198c54b96681d1ed4583b432793bb823;hp=9c6fd94d044fbae654ebcea73d3125de7a996ada;hpb=515cabf5944aa1d1b31e71393d0cf38adc97782d;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 9c6fd94..54ce024 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2280,7 +2280,7 @@ if ! check_com asc &>/dev/null ; then fi # get top 10 shell commands: -alias top10='print -l ? ${(o)history%% *} | uniq -c | sort -nr | head -n 10' +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 @@ -2789,7 +2789,7 @@ compdef _aliases edalias #f1# Edit a function via zle edfunc() { - [[ -z "$1" ]] && { echo "Usage: edfun " ; return 1 } || zed -f "$1" ; + [[ -z "$1" ]] && { echo "Usage: edfunc " ; return 1 } || zed -f "$1" ; } compdef _functions edfunc