From aa572fc72a5f725401d2809f80f8b0c97d7895bc Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Thu, 28 Feb 2013 20:10:15 +0100 Subject: [PATCH] zsh: abk, don't match everything between . and | and thus make it work after e.g. / --- etc/zsh/zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 0cff920..bec03d4 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -946,8 +946,7 @@ zleiab() { return 0 fi - matched_chars='[.-|_a-zA-Z0-9]#' - LBUFFER=${LBUFFER%%(#m)[.-|_a-zA-Z0-9]#} + LBUFFER=${LBUFFER%%(#m)[.\-+:|_a-zA-Z0-9]#} LBUFFER+=${abk[$MATCH]:-$MATCH} } -- 2.1.4