From 73c3dc3c77b69da6444bfa198b77b60dd1edc874 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 23 Sep 2016 13:46:52 +0200 Subject: zsh: Add lunchy completion if installed --- tag-zsh/config/zsh/zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tag-zsh/config/zsh/zshrc') diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index f01625ae..612908e3 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -124,6 +124,14 @@ then autoload -U compinit && compinit fi +if [[ -n $commands[lunchy] ]] +then + LUNCHY_DIR=$(dirname $(gem which lunchy))/../extras + if [ -f $LUNCHY_DIR/lunchy-completion.zsh ]; then + . $LUNCHY_DIR/lunchy-completion.zsh + fi +fi + if [[ $TERM == "dumb" ]] then PROMPT="> " -- cgit 1.4.1