From f8190d58c28078fbb062de51223d428a6797fac4 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 26 Dec 2007 20:18:26 +0100 Subject: [PATCH] Removing the (commented out) my_accept() widget from zshrc It's obsoleted by the just-added generic accept-line wrapper. --- etc/zsh/zshrc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index cddcf7a..028354c 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1476,18 +1476,6 @@ grmlcomp() { # zstyle ':completion:*' completer _complete _correct _approximate # zstyle ':completion:*' expand prefix suffix - # automatic rehash? Credits go to Frank Terbeck - # TODO: keep this at all? And if so, move it, it has nothing to do with completion - # my_accept() { - # local buf - # [[ -z ${BUFFER} ]] && zle accept-line && return - # buf=( ${(z)BUFFER} ) - # [[ -z ${commands[${buf[1]}]} ]] && rehash - # zle accept-line - # } - # zle -N my_accept - # bindkey "^M" my_accept - # command for process lists, the local web server details and host completion zstyle ':completion:*:urls' local 'www' '/var/www/' 'public_html' -- 2.1.4