From 64c6934f34f749d361581da7975467c24ac99849 Mon Sep 17 00:00:00 2001 From: Michael Komitee Date: Sun, 26 Dec 2010 16:20:14 -0500 Subject: [PATCH] more customizations --- lib/completion.zsh | 2 ++ lib/correction.zsh | 3 --- themes/komitee.zsh-theme | 23 +++++++++++++++++------ 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/lib/completion.zsh b/lib/completion.zsh index 9c2dfecca..98556f25b 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -36,10 +36,12 @@ cdpath=(.) # use /etc/hosts and known_hosts for hostname completion [ -r ~/.ssh/known_hosts ] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=() +[ -r ~/.host-completion ] && : ${(A)_host_completion:=${(s: :)${(ps:\t:)${${(f)~~"$(<~/.host-completion)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} || _host_completion=() [ -r /etc/hosts ] && : ${(A)_etc_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(