From cfef940a82ef9cac9de13c25653e9a6b24975091 Mon Sep 17 00:00:00 2001 From: Carsten Hey Date: Mon, 28 Jun 2010 14:03:39 +0200 Subject: [PATCH] zshrc: fix typo in default value handling of changed() and new() Signed-off-by: Carsten Hey --- etc/zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.1.4