From: Carsten Hey Date: Mon, 28 Jun 2010 12:03:39 +0000 (+0200) Subject: zshrc: fix typo in default value handling of changed() and new() X-Git-Tag: v0.3.84~51 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=cfef940a82ef9cac9de13c25653e9a6b24975091;p=grml-etc-core.git zshrc: fix typo in default value handling of changed() and new() Signed-off-by: Carsten Hey --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index bd54c2b..faf6c31 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3525,13 +3525,13 @@ regcheck() { #f5# List files which have been changed within the last {\it n} days, {\it n} defaults to 1 changed() { emulate -L zsh - print -l *(c-${1:1}) + print -l *(c-${1:-1}) } #f5# List files which have been modified within the last {\it n} days, {\it n} defaults to 1 new() { emulate -L zsh - print -l *(m-${1:1}) + print -l *(m-${1:-1}) } #f5# Grep in history