From: Bernhard Tittelbach Date: Thu, 28 Feb 2013 19:10:15 +0000 (+0100) Subject: zsh: abk, don't match everything between . and | and thus make it work after e.g. / X-Git-Tag: v0.8.0~53 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=aa572fc72a5f725401d2809f80f8b0c97d7895bc zsh: abk, don't match everything between . and | and thus make it work after e.g. / --- 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} }