# Completions

# Lunchy
LUNCHY_DIR=$(dirname `gem which lunchy`)/../extras
if [ -f $LUNCHY_DIR/lunchy-completion.zsh ]; then
    . $LUNCHY_DIR/lunchy-completion.zsh
fi

#  npm completion
if [ -f $BREW_PREFIX/etc/bash_completion.d/npm ]; then
    . $BREW_PREFIX/etc/bash_completion.d/npm
fi

# Completions

# Lunchy
if gem which lunchy &> /dev/null; then
    LUNCHY_DIR=$(dirname `gem which lunchy`)/../extras
    if [ -f $LUNCHY_DIR/lunchy-completion.zsh ]; then
        . $LUNCHY_DIR/lunchy-completion.zsh
    fi
fi

#  npm completion
if [ -f $BREW_PREFIX/etc/bash_completion.d/npm ]; then
    . $BREW_PREFIX/etc/bash_completion.d/npm
fi

Add check for command error before attempting lunchy completion addition.
Add check for command error before attempting lunchy completion addition.
